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.

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

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

Name Description Page<br />

isxdigit Tests for a hexadecimal digit. 3-85<br />

labs Computes the absolute value of a long integer. 3-86<br />

ldiv Performs a division operation on two specified long integers. 3-87<br />

localeconv Obtains the current locale settings. 3-89<br />

localtime Converts the calendar time to broken-down time. 3-92<br />

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

malloc Allocates memory. 3-95<br />

mblen Determines the number of bytes in a multibyte character. 3-96<br />

mbstowcs Converts a multibyte character string into a wide character<br />

string.<br />

mbtowc Converts a multibyte character into its wide character equivalent.<br />

3-98<br />

3-100<br />

memchr Searches memory for a character. 3-102<br />

memcmp Compares two objects in memory. 3-104<br />

memcpy Copies characters in memory. 3-106<br />

memmove Copies characters in memory. 3-108<br />

memset Initializes a memory area with a given value. 3-110<br />

mktime Converts the broken-down time into calendar time. 3-111<br />

perror Prints a diagnostic message. 3-114<br />

printf Prints formatted output to stdout. 3-115<br />

putc Writes a character to a stream. 3-117<br />

putchar Writes a character to stdout. 3-118<br />

puts Writes a string to a stream. 3-119<br />

qsort Sorts an array in ascending order. 3-120<br />

rand Returns a pseudo-random number. 3-122<br />

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

A

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

Saved successfully!

Ooh no, something went wrong!