CLOSE(2) Linux Programmer's Manual CLOSE(2) NAME close - SYNOPSIS #include int close(int fd); DESCRIPTION close , . , ( ) fd , . , unlink(2) . RETURN VALUE close 0 , -1 . ERRORS EBADF fd EINTR The close() . EIO I/O CONFORMING TO SVr4, SVID, POSIX, X/OPEN, BSD 4.3. SVr4 documents an additional ENOLINK error condition. NOTES , . "write-behind" write(2) . , . , . . NFS . , . , . fsync(2) sync(2), ( ). SEE ALSO open(2), fcntl(2), shutdown(2), unlink(2), fclose(3) [] Daniel (badlong@163.com) [] 2002/1/10 [] ..SH "" man man https://github.com/man-pages-zh/manpages- zh 1996-04-14 CLOSE(2)