关闭文件描述符-close

头文件:#include<unistd.h>

原型:int close(int fd);

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

原文地址:https://www.cnblogs.com/gary-guo/p/5554752.html