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.

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

This chapter provides detailed information on each system call in the pHILE+<br />

component of <strong>pSO<strong>System</strong></strong>. The calls are listed alphabetically, with a multipage<br />

section of information for each call. Each call’s section includes its syntax, the<br />

volume types it applies to, a detailed description, its arguments, its return value,<br />

and any error codes that it can return. Where applicable, the section also includes<br />

the headings “Notes”, “Usage”, and “See Also”. “Notes” contains any important<br />

information not specifically related to the call description, “Usage” provides detailed<br />

usage information, and “See Also” indicates other calls that have related<br />

information.<br />

Structures described in this chapter are also defined in the file .<br />

Structures must be word-aligned and must not be packed.<br />

If you need to look up a system call by its functionality, refer to Appendix A, “Tables<br />

of <strong>System</strong> <strong>Calls</strong>,” which lists the calls alphabetically by component and provides a<br />

brief description of each call.<br />

The following table shows the file systems that each pHILE+ call supports. If a call<br />

supports a particular file system, the table entry is “yes.” Otherwise, the table entry<br />

is the error message produced when a call is either incorrectly used on a file system<br />

or attempted on an unsupported file system. Error codes are described in the call<br />

descriptions within this chapter, and also in Appendix B, “Error Codes.”<br />

TABLE 2-1 File <strong>System</strong>s Supported by pHILE+ <strong>Calls</strong><br />

Syscall/<br />

Filesystem<br />

pHILE+ MS-DOS NFS CD-ROM<br />

access_f E_FUNC E_BADMS yes E_BADCD<br />

annex_f yes E_BADMS E_BADNFS E_BADCD<br />

2-1<br />

2

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

Saved successfully!

Ooh no, something went wrong!