| United States-English |
|
|
|
![]() |
MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4
POSIX/iX Library Function Descriptions
close |
|
Closes a file.
The close() function closes the file specified by fildes. Upon the close, all record locks held by the calling process on the file associated with fildes are removed. When all file descriptors associated with an open file description have been closed, the open file description is freed and is no longer accessible. If the link count of the file is zero upon closing, when all open file descriptors associated with the file are closed, the file is purged from the system. The close() function updates the following file time fields to the current time:
Refer to the ESYSERR error description below. Signals generated for the calling process during the execution of close() are deferred from delivery until the completion of close(). If an error occurs, errno is set to one of the following values:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||