glibc
Glibc的主要功能
头文件 | 主要功能 |
---|---|
ctype.h | 字符测试 |
stdio.h | 输入输出 |
stdlib.h | 复杂的工具 |
string.h | 字符串处理 |
assert.h | 程序断言 |
limits.h | 系统参数 |
stddef.h | 通用类型和常量 |
time.h | 时间处理 |
errno.h | 错误检测 |
locale.h | 自适应 |
math.h | 数学函数 |
setjmp.h | 非局部分支 |
signal.h | 中断处理 |
stdarg.h | 可变长度参数表 |
Glibc的常见库
Library component | content | Inclusion guidelines |
---|---|---|
libbrokenLocale | Fixup routines to get APPlications that havebroken locale features to run. Overrides application defaults through preloading. (Need touse LD_PRELOAD.) | Rarely used. |
libSegFault | Routines for catching segmentation faults and doing back traces. | Rarely used. |
libanl | Asynchronous name lookup routines. | Rarely used. |
libbsd-compat | dummy library for certain BSD programs that are compiled with -lbsd-compat. | Rarely used. |
libc | Main C library routines | Compulsory. |
… | … | … |