Previous section.

Technical Standard: Networking Services (XNS), Issue 5.2 Draft 2.0
Copyright © 1999 The Open Group

NAME

close - close a file descriptor
Note:
The XSH specification contains the basic definition of this interface. The following additional information pertains to Sockets.

DESCRIPTION

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.

CHANGE HISTORY

First released in Issue 4.

Contents Next section Index