rig*_*old 7 c linux bsd posix manpage
例如,取open(2),其中包含以下概要:
Run Code Online (Sandbox Code Playgroud)#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int open(const char *pathname, int flags); int open(const char *pathname, int flags, mode_t mode); int creat(const char *pathname, mode_t mode);
我应该包括所有这些头文件还是其中任何一个?在前一种情况下,我如何知道哪些头文件包含哪些函数,宏和typedef?
| 归档时间: |
|
| 查看次数: |
147 次 |
| 最近记录: |