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-4 pREPC+ <strong>System</strong> <strong>Calls</strong> (Continued)<br />

Name Description Page<br />

fputs Writes a string to a stream. 3-50<br />

fread <strong>Read</strong>s from a stream. 3-51<br />

free Deallocates memory. 3-53<br />

freopen Reopens a file. 3-54<br />

fscanf <strong>Read</strong>s formatted input from a stream. 3-56<br />

fseek Sets the file position indicator. 3-61<br />

fsetpos Sets file position by using the fgetpos result. 3-63<br />

ftell Gets the file position indicator. 3-65<br />

fwrite Writes to a stream. 3-67<br />

getc Gets a character from a stream. 3-69<br />

getchar Gets a character from stdin. 3-70<br />

gets Gets a string from stdin. 3-71<br />

gmtime Converts the calendar time to broken-down time. 3-72<br />

gmtime_r (Reentrant) Converts the calendar time to broken-down time. 3-73<br />

isalnum Tests for an alphanumeric character. 3-75<br />

isalpha Tests for an alphabetic character. 3-76<br />

iscntrl Tests for a control character. 3-77<br />

isdigit Tests for a digit. 3-78<br />

isgraph Tests for a graphical character. 3-79<br />

islower Tests for a lowercase letter. 3-80<br />

isprint Tests for a printable character. 3-81<br />

ispunct Tests for a punctuation character. 3-82<br />

isspace Tests for a space. 3-83<br />

isupper Tests for an uppercase letter. 3-84<br />

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