1NETCLOSE(3)                Common Library Functions                NETCLOSE(3)
2
3
4

NAME

6       netclose - close an existing socket
7

SYNOPSIS

9       #include "net.h"
10
11       int netclose (int s);
12

DESCRIPTION

14       netclose closes an existing socket.
15

RETURN VALUE

17       This  routine returns zero if the operation was successful or -1 if the
18       operation failed. In the latter case, serrno is set appropriately.
19

ERRORS

21       EINTR       The function was interrupted by a signal.
22
23       EBADF       s is not a valid descriptor.
24
25       ENOTSOCK    s is not a socket.
26

SEE ALSO

28       close(2), closesocket(WNT), neterror(3)
29

AUTHOR

31       LCG Grid Deployment Team
32
33
34
35LCG                      $Date: 2005/03/29 09:27:19 $              NETCLOSE(3)
Impressum