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.

Error Codes pHILE+ Error Codes<br />

B.2 pHILE+ Error Codes<br />

pHILE+ error codes are returned as function return values (rather than an errno<br />

variable). Table B-3 lists all error codes returned by the pHILE+ component. Each<br />

listing includes the error code’s hexadecimal number, it’s mnemonic and description,<br />

and the pHILE+ system calls that can return it. The error code mnemonics are<br />

also defined in .<br />

An asterisk next to an error code’s description indicates that it can represent an<br />

NFS or RPC error. Sections B.2.2 and B.2.3 beginning on page B-35 provide tables<br />

of the NFS and RPC error codes that are mapped to pHILE+ error codes.<br />

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

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

0x2001 E_FUNC: Invalid function number. The function<br />

number passed to pHILE+ in register D0.L does<br />

not contain a code corresponding to a valid<br />

pHILE+ system call.<br />

0x2002 E_FAIL: pHILE+ failure. An internal error has<br />

been detected by the pHILE+ file system manager.<br />

Report this error condition to Integrated<br />

<strong>System</strong>s.<br />

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

corrupted. The data structures on the volume<br />

are inconsistent with each other. This is most<br />

likely the result of a crash while the pHILE+ file<br />

system manager was writing to the volume. On<br />

MS-DOS volumes, it can also indicate that an<br />

incorrect partition number has been specified.<br />

access_f, chmod_f,<br />

chown_f, fchmod_f,<br />

fchown_f,<br />

ftruncate_f, link_f,<br />

lstat_f, make_dir,<br />

read_link,<br />

symlink_f,<br />

truncate_f, utime_f<br />

Should never happen.<br />

change_dir,<br />

close_dir, close_f,<br />

create_f,<br />

ftruncate_f, get_fn,<br />

init_vol, make_dir,<br />

move_f, open_dir,<br />

open_f, open_fn,<br />

pcinit_vol,<br />

pcmount_vol,<br />

read_dir, read_f,<br />

remove_f, stat_f,<br />

stat_vfs,<br />

sync_vol,truncate_f,<br />

unmount_vol, write_f<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> B-15<br />

B

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

Saved successfully!

Ooh no, something went wrong!