For faster navigation, this Iframe is preloading the Wikiwand page for C POSIX library.

C POSIX library

C POSIX library是C语言的POSIX系统下的标准库。包含了一些在C语言标准库之外的函数。

C POSIX library头文件

[编辑]

下表列出不在C语言标准库之内的POSIX标准的头文件:

头文件 描述 首次发布
<aio.h> 异步I/O Issue 5
<arpa/inet.h> 操纵数值IP地址的函数胡 (部分Berkeley套接字) Issue 6
<cpio.h> 用于cpio文件格式#Magic number Issue 3
<dirent.h> 打开与列出目录. Issue 2
<dlfcn.h> 动态链接 Issue 5
<fcntl.h> 文件打开、加锁等操作 Issue 1
<fmtmsg.h> Message显示结构 Issue 4
<fnmatch.h> 文件名匹配 Issue 4
<ftw.h> 文件树遍历 Issue 1
<glob.h> 路径名模式匹配Glob英语Glob Issue 4
<grp.h> 用户Group identifier (Unix)英语Group identifier (Unix)信息与控制。 Issue 1
<iconv.h> 字符编码转换 Issue 4
<langinfo.h> 语言信息常量。建于Locale.h之上。 Issue 2
<libgen.h> 路径名操作 Issue 4
<monetary.h> 货币单位的字符串格式化 Issue 4
<mqueue.h> 消息队列 Issue 5
<ndbm.h> NDBM英语NDBM数据库操作 Issue 4
<net/if.h> 本地网络接口列表 Issue 6
<netdb.h> 把本地协议与主机名翻译为数值地址。是Berkeley套接字的一部分 Issue 6
<netinet/in.h> 定义互联网协议与地址族。是Berkeley套接字的一部分 Issue 6
<netinet/tcp.h> 额外的TCP的控制选项。是Berkeley套接字的一部分 Issue 6
<nl_types.h> 本体化消息分类函数 Issue 2
<poll.h> 异步多工文件描述符英语Asynchronous I/O Issue 4
<pthread.h> POSIX线程. Issue 5
<pwd.h> passwd文件访问与控制 Issue 1
<regex.h> 正则表达式 Issue 4
<sched.h> 执行调度 Issue 5
<search.h> 搜索表 Issue 1
<semaphore.h> POSIX 信号量 Issue 5
<spawn.h> spawning英语Spawn (computing)子进程 Issue 6
<strings.h> 大小写不敏感字符串比较 Issue 4
<stropts.h> 流操作,包括ioctl Issue 4
<sys/ipc.h> 进程间通信 (IPC). Issue 2
<sys/mman.h> 内存管理,包括POSIX 共享内存 (进程间通信)内存映射文件 Issue 4
<sys/msg.h> POSIX 消息队列 Issue 2
<sys/resource.h> 资源使用,优先级与限制。 Issue 4
<sys/select.h> Select (Unix) Issue 6
<sys/sem.h> XSI (SysV风格的) 信号量 Issue 2
<sys/shm.h> XSI (SysV风格的)共享内存 (进程间通信) Issue 2
<sys/socket.h> Berkley套接字主要头文件 Issue 6
<sys/stat.h> 文件信息(stat (Unix)等) Issue 1
<sys/statvfs.h> 文件系统信息 Issue 4
<sys/time.h> 时间与日期函数与结构 Issue 4
<sys/times.h> 文件访问与修改时间 Issue 1
<sys/types.h> 不同的数据类型 Issue 1
<sys/uio.h> 向量I/O英语Vectored I/O操作 Issue 4
<sys/un.h> Unix域套接字 Issue 6
<sys/utsname.h> 操作系统信息,包括uname Issue 1
<sys/wait.h> 终止子进程的状态(见wait (Unix)) Issue 3
<syslog.h> syslog系统日志 Issue 4
<tar.h> tar文件格式的Magic number Issue 3
<termios.h> 允许串口界面 Issue 3
<trace.h> 运行时行为追踪(过时) Issue 6
<ulimit.h> 资源限制(被<sys/resource.h>代替) Issue 1
<unistd.h> 多种必要的POSIX函数与常量 Issue 1
<utime.h> inode访问与修改时间 Issue 3
<utmpx.h> 用户账号数据库函数 Issue 4
<wordexp.h> 子扩展,类似于shell被执行 Issue 4

参考文献

[编辑]

延伸阅读

[编辑]
{{bottomLinkPreText}} {{bottomLinkText}}
C POSIX library
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?