Previous section.

Networking Services (XNS) Issue 5
Copyright © 1997 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.

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index