06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

stat_vfs pHILE+ <strong>System</strong> <strong>Calls</strong><br />

Return Value<br />

Error Codes<br />

This structure cannot be packed. Currently, the fields f_ffree,<br />

f_favail, f_fsid, f_basetype, f_flag, f_namemax, f_fstr and<br />

f_filler are reserved and do not have values. For all volumes except<br />

pHILE+ format, the field f_files is unused.<br />

The field f_fstype identifies the type of file system format. The values<br />

in are given below:<br />

FSTYPE_PHILE pHILE+ format volume<br />

FSTYPE_PCDOS MS-DOS format volume<br />

FSTYPE_CDROM CD-ROM format volume<br />

FSTYPE_NFS Client NFS volume<br />

The return value for all unsupported fields is 0.<br />

This system call returns 0 on success or an error code on failure.<br />

Hex Mnemonic Description<br />

0x2003 E_BADVOL Inconsistent data on volume; volume<br />

corrupted.<br />

0x200C E_IFN Illegal pathname.<br />

0x200D E_NDD No default directory.<br />

0x2025 E_IDN Illegal device name.<br />

0x2051 E_MAXLOOP Symbolic links nested too deeply.<br />

0x2052 E_EREMOTE Too many levels of remote in path.<br />

0x2054 E_EIO A hard error occurred at a remote<br />

site.<br />

0x2055 E_EACCES Task does not have access<br />

permissions.<br />

0x2058 E_ESTALE Stale NFS file handle.<br />

0x205B E_ENXIO No such device or address.<br />

0x205C E_ENODEV No such device.<br />

2-110 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!