Chapter 1. Compatibility

Table of Contents

Compatibility with ANSI
stdio
string
stdlib
time
signals
ctype
math
misc
Compatibility with POSIX.1
Process Primitives (Section 3)
Process Environment (Section 4)
Files and Directories (Section 5)
Input and Output Primitives (Section 6)
Device- and Class-Specific Functions (Section 7)
Language-Specific Services for the C Programming Language (Section 8)
System Databases (Section 9)
Synchronization (Section 11)
Memory Management (Section 12)
Thread Management (Section 16)
Thread-Specific Data Functions (Section 17)
Implementation Details
Compatibility with Miscellaneous Other Standards
Networking
Other
Implementation Notes

Compatibility with ANSI

The following functions are compatible with ANSI:

stdio

clearerr, fclose, feof, ferror, fflush, fgetc, fgetpos, fgets, fopen, fprintf, fputc, fputs, fread, freopen, fscanf, fseek, fsetpos, ftell, fwrite, getc, getchar, gets, perror, printf, putc, putchar, puts, remove, rename, rewind, scanf, setbuf, setvbuf, sprintf, sscanf, tmpfile, tmpnam, vfprintf, ungetc, vprintf, vsprintf,

string

memchr, memcmp, memcpy, memmove, memset, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strerror, strlen, strncat, strncmp, strncpy, strpbrk, strrchr, strspn, strstr, strtok, strxfrm

stdlib

abort, abs, assert, atexit, atof, atoi, atol, bsearch, calloc, div, exit, free, getenv, labs, ldiv, longjmp, malloc, mblen, mbstowcs, mbtowc, qsort, rand, realloc, setjmp, srand, strtod, strtol, strtoul, system, wcstombs, wctomb

time

asctime, gmtime, localtime, time, clock, ctime, difftime, mktime, strftime

signals

raise, signal

ctype

isalnum, isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, tolower, toupper

math

acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor, fmod, frexp, ldexp, log, log10, modf, pow, sin, sinh, sqrt, tan, tanh

misc

localeconv, setlocale, va_arg, va_end, va_start