<sect1 id="std-ansi"> <title>Compatibility with ANSI</title> <para>The following functions are compatible with ANSI:</para> <sect2><title>stdio</title><para> 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, </para></sect2> <sect2><title>string</title><para> memchr, memcmp, memcpy, memmove, memset, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strerror, strlen, strncat, strncmp, strncpy, strpbrk, strrchr, strspn, strstr, strtok, strxfrm </para></sect2> <sect2><title>stdlib</title><para> 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 </para></sect2> <sect2><title>time</title><para> asctime, gmtime, localtime, time, clock, ctime, difftime, mktime, strftime </para></sect2> <sect2><title>signals</title><para> raise, signal </para></sect2> <sect2><title>ctype</title><para> isalnum, isalpha, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, tolower, toupper </para></sect2> <sect2><title>math</title><para> acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor, fmod, frexp, ldexp, log, log10, modf, pow, sin, sinh, sqrt, tan, tanh </para></sect2> <sect2><title>misc</title><para> localeconv, setlocale, va_arg, va_end, va_start </para></sect2> </sect1>