If you are using “basic” Unix functions, you need to use
#include <unistd.h>
This will give you read, write, open, close, sleep, usleep and many other functions.
转自:https://blog.youkuaiyun.com/boyemachao/article/details/104555683
本文介绍在使用基本Unix函数如read, write, open, close, sleep等时,如何正确包含头文件unistd.h。这对于理解Unix系统编程的基础至关重要。
If you are using “basic” Unix functions, you need to use
#include <unistd.h>
This will give you read, write, open, close, sleep, usleep and many other functions.
转自:https://blog.youkuaiyun.com/boyemachao/article/details/104555683

被折叠的 条评论
为什么被折叠?