NWClearConnectionNumber(3ncp)

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).

  1. 3.1–7

Bugs

None known.

From libncp-dev 2.2.6-9 in Debian 7 (Wheezy). Parsed by carta from the page's man source.