关闭文件描述符-close

头文件:#include<unistd.h>

原型:int close(int fd);

返回值:成功返回0,失败返回-1.

posted on 2016-06-02 23:11  gary_123  阅读(863)  评论(0编辑  收藏  举报

导航