int close(int fildes);
When all file descriptors associated with a pipe or FIFO special file are closed, any data remaining in the pipe of FIFO is discarded.
When all file descriptors associated with an open file description have been closed, the open file description freed.
If the link count of a file is 0, when all file descriptors associated with the file are closed, the space occupied by the file is freed and the file is no longer accessible.
POSIX.1 (1996), with exceptions.
MULTITHREAD SAFETY LEVEL
If the file was opened with an attribute of O_TEMPORARY, the file is deleted if the count is zero.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.4 Documentation Build 39.