Provided by: liblcgdm-dev_1.13.0-1_amd64
netclose - close an existing socket
#include "net.h" int netclose (int s);
netclose closes an existing socket.
This routine returns zero if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
EINTR The function was interrupted by a signal. EBADF s is not a valid descriptor. ENOTSOCK s is not a socket.
LCG Grid Deployment Team