VS2017报错头文件unistd.h

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yanchenyu365/article/details/84065528
#include    <unistd.h>
  •  

符号常量

是POSIX标准定义的unix类系统定义符号常量的头文件,包含了许多UNIX系统服务的函数原型,例如read函数、write函数和getpid函数

unistd.h在unix中类似于window中的windows.h!

#ifdef WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif

猜你喜欢

转载自blog.csdn.net/yanchenyu365/article/details/84065528