06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Notes<br />

Hex Mnemonic Description<br />

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

permissions.<br />

0x2057 E_EQUOT Quota exceeded.<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 />

0x2060 E_BADCD CD-ROM volume; illegal operation.<br />

0x2070 E_EAUTH RPC authorization is not available.<br />

0x2071 E_ENFS Portmap failure on the host.<br />

0x2072 E_ETIMEDOUT NFS call timed out.<br />

0x2074 E_ENOAUTHBLK No RPC authorization blocks<br />

available.<br />

0x2075 E_ECANTSEND Failure in sending call.<br />

0x2076 E_ECANTRECV Failure in receiving result.<br />

0x2077 E_PROBUNAVAIL Program not available.<br />

0x2078 E_EPROGVERSMISMATCH Program version mismatched.<br />

0x2079 E_ECANTDECODEARGS Decode arguments error.<br />

0x207A E_EUNKNOWNHOST Unknown host name.<br />

0x207B E_EPROGNOTREGISTERED Remote program is not registered.<br />

0x207C E_UNKNOWNPROTO Unknown protocol.<br />

0x207D E_EINTR Call interrupted.<br />

0x207E ERPC All other RPC errors.<br />

1. If a file by the same name already exists, create_f() fails. An existing file<br />

must first be explicitly deleted using remove_f() before the same name can be<br />

used for a new file.<br />

2. After a create_f() call, the new file is empty. Blocks are allocated as data is<br />

written.<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 2-27<br />

2

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

Saved successfully!

Ooh no, something went wrong!