Query: netclose
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NETCLOSE(3) Common Library Functions NETCLOSE(3)NAMEnetclose - close an existing socketSYNOPSIS#include "net.h" int netclose (int s);DESCRIPTIONnetclose closes an existing socket.RETURN VALUEThis routine returns zero if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.ERRORSEINTR The function was interrupted by a signal. EBADF s is not a valid descriptor. ENOTSOCK s is not a socket.SEE ALSOclose(2), closesocket(WNT), neterror(3)AUTHORLCG Grid Deployment TeamLCG$Date: 2005/03/29 09:27:19 $ NETCLOSE(3)