par défaut gcc utilise la libc ( option -lc ) non obligatoire
Tous ces en-têtes font partie de libc :
| En-tête standard | Fonctions principales | Fait partie de |
|---|---|---|
<stdio.h> | printf(), scanf(), fopen(), fread() | libc |
<stdlib.h> | malloc(), free(), exit(), atoi(), rand() | libc |
<string.h> | strcpy(), strlen(), memcpy(), memset() | libc |
<ctype.h> | isalpha(), isdigit(), tolower() | libc |
<time.h> | time(), clock(), localtime() | libc |
<assert.h> | assert() | libc |
<stdarg.h> | va_start(), va_arg(), va_end() | libc |
