‘close’ was not declared in this scope

‘close’ was not declared in this scope

‘read’ was not declared in this scope

‘sysconf’ was not declared in this scope

没有包含头文件 unistd.h 造成的。

加上'

#include <unistd.h>

posted @ 2017-10-23 17:33  鸭子船长  阅读(572)  评论(0编辑  收藏  举报