NWClearConnectionNumber3ncp
Logs out the specified connection
Usage
#include <nwcalls.h>
NWCCODE NWClearConnectionNumber(NWCONN_HANDLE conn, NWCONN_NUM num);
Overview
This function logs out specified connection from server. You must have SUPERVISOR rights to server.
conn
conn contains connection handle obtained from ncp_open(3ncp) or NWParsePath(3ncp).
num
num contains connection number.
Return value
Function returns zero on success and non-zero on failure.
NWE_CONSOLE_NO_PRIV-
You have not enough rights.
See nwerrors(3ncp) for complete list of error codes.
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).