NWSysCloseConn(3nw)
NWSysCloseConn --
closes and detaches connection
Synopsis
#include <nwconnec.h>
NWCCODE N_API NWSysCloseConn
(NWCONN_HANDLE conn);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the connection handle to be destroyed.
Return values
- 0x0000
-
SUCCESSFUL
-
Invalid Connection Handle
Notices
NWSysCloseConn is similar to NWCloseConn. After
calling NWSysCloseConn, however, all handles to the connection
will be closed and the connection will be detached.
NWSysCloseConn causes all active processes to lose access to
the resources on the connection.
UNIX clients should call NWCloseConn instead of calling
NWSysCloseConn. With the UNIX Requester, multiple clients are
able to use the same connection. Calling NWSysCloseConn would
close the connection for all users.
Services
Connection
NCP calls
None
References
NWCloseConn(3nw),
NWCCOpenConnByAddr(3nw),
NWOpenConnByName(3nw),
NWCCOpenConnByRef(3nw),
NWSysCloseConn(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.