1NWCLEARCONNECTIONNUMBER(3NCP) NWCLEARCONNECTIONNUMBER(3NCP)
2
3
4
6 NWClearConnectionNumber - Logs out the specified connection
7
9 #include <nwcalls.h>
10
11 NWCCODE NWClearConnectionNumber(NWCONN_HANDLE conn, NWCONN_NUM num);
12
13
15 This function logs out specified connection from server. You must have
16 SUPERVISOR rights to server.
17
18 conn
19 conn contains connection handle obtained from ncp_open(3ncp) or
20 NWParsePath(3ncp).
21
22 num
23 num contains connection number.
24
25
27 Function returns zero on success and non-zero on failure.
28
29 NWE_CONSOLE_NO_PRIV
30 You have not enough rights.
31
32 See nwerrors(3ncp) for complete list of error codes.
33
34
35
37 None known.
38
39
41 nwerrors(3ncp)
42
43
44
45libncp (>= 2.2.0.14) 04/13/1999 NWCLEARCONNECTIONNUMBER(3NCP)