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.

All <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> Tables of <strong>System</strong> <strong>Calls</strong><br />

TABLE A-1 All <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> (Continued)<br />

Name Component Description Page<br />

asctime_r pREPC+ (Reentrant) Converts the broken-down time<br />

to a string.<br />

as_return pSOS+ Returns from an asynchronous signal routine.<br />

as_send pSOS+ Sends asynchronous signals to a task. 1-9<br />

assert pREPC+ Verifies that a program is operating correctly.<br />

atof pREPC+ Converts a string to a double. 3-9<br />

atoi pREPC+ Converts a string to an integer. 3-11<br />

atol pREPC+ Converts a string to a long integer. 3-13<br />

bind pNA+ Binds an address to a socket. 4-6<br />

bsearch pREPC+ Searches an array. 3-15<br />

calloc pREPC+ Allocates memory. 3-17<br />

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

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

chmod_f pHILE+ Changes the mode of a named ordinary or<br />

directory file.<br />

chown_f pHILE+ Changes the owner or group of a named ordinary<br />

or directory file.<br />

A-2 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong><br />

3-6<br />

1-7<br />

3-8<br />

2-16<br />

2-19<br />

clearerr pREPC+ Clears a stream’s error indicators. 3-19<br />

close pNA+ Closes a socket descriptor. 4-8<br />

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

close_f pHILE+ Closes an open file connection. 2-22<br />

connect pNA+ Initiates a connection on a socket 4-9<br />

create_f pHILE+ Creates a data file. 2-25<br />

ctime pREPC+ Converts the calendar time to a string. 3-20

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

Saved successfully!

Ooh no, something went wrong!