Download pSOS Reference

Transcript
Error Codes
B.2
pHILE+ Error Codes
pHILE+ Error Codes
pHILE+ error codes are returned as function return values (rather than an errno
variable). Table B-3 lists all error codes returned by the pHILE+ component. Each
listing includes the error code’s hexadecimal number, it’s mnemonic and description, and the pHILE+ system calls that can return it. The error code mnemonics are
also defined in <phile.h>.
An asterisk next to an error code’s description indicates that it can represent an
NFS or RPC error. Sections B.2.2 and B.2.3 beginning on page B-35 provide tables
of the NFS and RPC error codes that are mapped to pHILE+ error codes.
TABLE B-3
pHILE+ Error Codes
Hex
Mnemonic and Description
System Call(s)
E_FUNC: Invalid function number. The function
number passed to pHILE+ in register D0.L does
not contain a code corresponding to a valid
pHILE+ system call.
access_f, chmod_f,
chown_f, fchmod_f,
fchown_f,
ftruncate_f, link_f,
lstat_f, make_dir,
read_link,
symlink_f,
truncate_f, utime_f
0x2002
E_FAIL: pHILE+ failure. An internal error has
been detected by the pHILE+ file system manager. Report this error condition to Integrated
Systems.
Should never happen.
0x2003
E_BADVOL: Inconsistent data on volume; volume
change_dir,
close_dir, close_f,
create_f,
ftruncate_f, get_fn,
init_vol, make_dir,
move_f, open_dir,
open_f, open_fn,
pcinit_vol,
pcmount_vol,
read_dir, read_f,
remove_f, stat_f,
stat_vfs,
sync_vol,truncate_f,
unmount_vol, write_f
0x2001
corrupted. The data structures on the volume
are inconsistent with each other. This is most
likely the result of a crash while the pHILE+ file
system manager was writing to the volume. On
MS-DOS volumes, it can also indicate that an
incorrect partition number has been specified.
pSOSystem System Calls
B-15
B