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.

pREPC+ <strong>System</strong> <strong>Calls</strong> Tables of <strong>System</strong> <strong>Calls</strong><br />

TABLE A-3 pHILE+ <strong>System</strong> <strong>Calls</strong> (Continued)<br />

Name Description Page<br />

read_f <strong>Read</strong>s from a file. 2-93<br />

read_link <strong>Read</strong>s the value of a symbolic link. 2-96<br />

read_vol <strong>Read</strong>s directly from a pHILE+ formatted volume. 2-99<br />

remove_f Deletes a file. 2-101<br />

stat_f Gets the status of a named file. 2-104<br />

stat_vfs Gets statistics for a named volume. 2-109<br />

symlink_f Creates a symbolic link to a file. 2-112<br />

sync_vol Synchronizes a volume. 2-115<br />

truncate_f Changes the size of a named file. 2-117<br />

unmount_vol Unmounts a volume. 2-120<br />

utime_f Sets the access and modification times of a file. 2-123<br />

verify_vol Verifies a volume’s control structures. 2-126<br />

write_f Writes to an open file. 2-142<br />

write_vol Writes data directly to a pHILE+ formatted volume. 2-145<br />

A.4 pREPC+ <strong>System</strong> <strong>Calls</strong><br />

Table A-4 provides an alphabetical listing of all pREPC+ system calls, a summary<br />

description for each call, and a reference to more details about the call.<br />

TABLE A-4 pREPC+ <strong>System</strong> <strong>Calls</strong><br />

Name Description Page<br />

abort Aborts a task. 3-3<br />

abs Computes the absolute value of an integer. 3-4<br />

asctime Converts the broken-down time to a string. 3-5<br />

A-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!