1NETCLOSE(3)                     Common      Library     Functions
2NETCLOSE(3)
3
4
5
6[1mNAME[0m
7       netclose ‐ close an existing socket
8
9[1mSYNOPSIS[0m
10       [1m#include "net.h"[0m
11
12       [1mint netclose (int [4m[22ms[24m[1m);[0m
13
14[1mDESCRIPTION[0m
15       [1mnetclose [22mcloses an existing socket.
16
17[1mRETURN VALUE[0m
18       This  routine returns zero if the operation was successful
19or ‐1 if the
20       operation failed. In the latter case, [1mserrno [22mis set
21appropriately.
22
23[1mERRORS[0m
24       [1mEINTR       [22mThe function was interrupted by a  sig‐
25nal.
26
27       [1mEBADF       [4m[22ms[24m is not a valid descriptor.
28
29       [1mENOTSOCK    [4m[22ms[24m is not a socket.
30
31[1mSEE ALSO[0m
32       [1mclose(2)[22m,     [1mclosesocket(WNT)[22m,    [1mneter‐
33ror(3)[0m
34
35[1mAUTHOR[0m
36       [1mLCG Grid Deployment [22mTeam
37
38
39
40LCG                         $Date:    2005/03/29    09:27:19    $
41NETCLOSE(3)
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum