The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


close - close a file descriptor
The XSH specification for close() 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, then close() will block for up to the current linger interval until all data is transmitted.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]