C标准程序库头文件

来源:互联网 发布:php打包文件夹 zip 编辑:程序博客网 时间:2024/05/01 20:29
好多C语言库函数参考还是用的TC的库函数参考,因此特地把现在C语言(C99)标准库函数的24个头文件列表如下:

assert.h inttypes.h(C99) signal.h stdlib.h
complex.h(C99) iso646.h(C95) stdarg.h string.h
ctype.h limits.h stdbool.h tgmath.h(C99)
errno.h locale.h stddef.h time.h
fenv.h(C99) math.h stdint.h(C99) wchar.h(C95)
float.h setjmp.h stdio.h wctype.h(C95)

其中C99表示该头文件是在C99标准中新增的,C95表示对原有C89进行一次增补后的C89标准,又称C89增补1。
C89中的标准头文件:
1. <assert.h>
2. <ctype.h>
3. <errno.h>
4. <float.h>
5. <limits.h>
6. <locale.h>
7. <math.h>
8. <setjmp.h>
9. <signal.h>
10. <stdarg.h>
11. <stddef.h>
12. <stdio.h>
13. <stdlib.h>
14. <string.h>
15. <time.h>

在95年的修正版中添加标准头文件:
1. <iso646.h>
2. <wchar.h>
3. <wctype.h>

C99中增加了六个标准头文件:
1. <complex.h>
2. <fenv.h>
3. <inttypes.h>
4. <stdbool.h>
5. <stdint.h>
6. <tgmath.h>