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.

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

Return Value<br />

Error Codes<br />

S_IXGRP Execute/search permission, group<br />

S_IROTH <strong>Read</strong> permission, other<br />

S_IWOTH Write permission, other<br />

S_IXOTH Execute/search permission, other<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 />

0x200A E_DMOUNT Volume not mounted.<br />

0x200B E_FNAME Filename not found.<br />

0x200C E_IFN Illegal pathname.<br />

0x200D E_NDD No default directory.<br />

0x200E E_FORD Directory file expected.<br />

0x200F E_ASIZE Illegal expansion unit.<br />

0x2010 E_NODE Null pathname.<br />

0x2011 E_FEXIST File already exists.<br />

0x2012 E_FLIST Too many files on volume.<br />

0x2015 E_RO Operation is not allowed on read-only<br />

system files, directories, or mounted<br />

volumes.<br />

0x201C E_ININFULL Index block is full.<br />

0x201D E_VFULL Volume is full.<br />

0x2025 E_IDN Illegal device name.<br />

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

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

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

2-26 <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!