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+ Error Codes Error Codes<br />

TABLE B-3 pHILE+ Error Codes (Continued)<br />

Hex Mnemonic and Description <strong>System</strong> Call(s)<br />

0x201B E_FIDOFF: Invalid file ID, file not open. The file<br />

ID provided on a pHILE+ call is not an open file.<br />

0x201C E_ININFULL: Index block full. The physical size<br />

of a file cannot be increased because the file's<br />

index block is full, so that no more extent descriptors<br />

can be added to the file. This error<br />

code indicates that the file is badly scattered<br />

across the device. The annex_f() call should<br />

be used to produce more contiguity in the file<br />

and reduce the number of extents. On NFS volumes<br />

this error code is returned if a file is too<br />

big.*<br />

0x201D E_VFULL: Volume full. No more free blocks of<br />

the required type (control or data) are available<br />

on the volume. This error can occur on a<br />

write_f() call whenever the file is extended;<br />

on a create_f(), make_dir(), or move_f() if<br />

a directory must be extended; or on an<br />

annex_f() call. *<br />

0x201E E_BADPOS: Illegal position parameter to<br />

lseek_f(). The LSEEK position parameter<br />

must be 0, 1, or 2.<br />

0x201F E_EOF: Seek past end of file. The parameters<br />

provided to lseek_f() would position the<br />

L_ptr beyond the logical end of the file. Since<br />

the L_ptr is viewed by the pHILE+ file system<br />

manager as unsigned, this error can also occur<br />

when an lseek_f() call positions the L_ptr<br />

before the beginning of a file.<br />

annex_f, close_dir,<br />

close_f, fchmod_f,<br />

fchown_f, fstat_f,<br />

fstat_vfs,<br />

ftruncate_f, lock_f,<br />

lseek_f, read_f,<br />

write_f<br />

annex_f, create_f,<br />

ftruncate_f,<br />

make_dir, move_f,<br />

truncate_f, write_f<br />

annex_f, create_f,<br />

ftruncate_f,<br />

make_dir, move_f,<br />

truncate_f, write_f<br />

lseek_f<br />

lseek_f, read_dir<br />

B-20 <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!