1. 程式人生 > >c標準頭文件

c標準頭文件

def str 中新 sse lib errno ctype 增加 c89

好多C語言庫函數參考還是用的TC的庫函數參考,因此特地把現在C語言(C99)標準庫函數的24個頭文件列表如下:
assert.h

types.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

c標準頭文件