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+ <strong>System</strong> <strong>Calls</strong> Tables of <strong>System</strong> <strong>Calls</strong><br />

TABLE A-2 pSOS+ <strong>System</strong> <strong>Calls</strong> (Continued)<br />

Name Description Page<br />

t_suspend Suspends a task until a t_resume call is made for the suspended<br />

task.<br />

A.3 pHILE+ <strong>System</strong> <strong>Calls</strong><br />

1-162<br />

tm_cancel Cancels an armed timer. 1-164<br />

tm_evafter Sends events to the calling task after a specified interval. 1-166<br />

tm_evevery Sends events to the calling task at periodic intervals. 1-168<br />

tm_evwhen Sends events to the calling task at the specified time. 1-170<br />

tm_get Obtains the system’s current version of the date and time. 1-173<br />

tm_set Sets or resets the system’s version of the date and time. 1-175<br />

tm_tick Announces a clock tick to the pSOS+ kernel. 1-178<br />

tm_wkafter Blocks the calling task and wakes it after a specified interval. 1-180<br />

tm_wkwhen Blocks the calling task and wakes it at a specified time. 1-182<br />

Table A-3 provides an alphabetical listing of all pHILE+ system calls, a summary description<br />

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

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

Name Description Page<br />

access_f Determines the accessibility of a file. 2-5<br />

annex_f Allocates contiguous blocks to a file. 2-8<br />

cdmount_vol Mounts a CD-ROM volume 2-10<br />

change_dir Changes the current directory. 2-13<br />

chmod_f Changes the mode of a named file. 2-16<br />

chown_f Changes the owner or group of a named file. 2-19<br />

close_dir Closes an open directory file. 2-22<br />

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