close - close a file descriptor
- Note:
- The XSH specification contains the basic definition of this interface. The following additional information pertains to Sockets.
If fildes refers to a socket,close() causes the socket to be destroyed. If the socket is connection-mode, and the SO_LINGER option is set for the socket with non-zero linger time, and the socket has untransmitted data, thenclose() will block for up to the current linger interval until all data is transmitted.
First released in Issue 4.
Contents | Next section | Index |