SP_disconnect(3)

SP_disconnect3

Destroy connection between app and daemon

Usage

#include <sp.h>
int SP_disconnect( mailbox mbox);

Overview

SP_disconnect should be called when the application is finished with a connection to the Spread daemon. The application may have other connections still open to the daemon and may open a new connection after disconnecting.

The mbox should be for the connection you wish to disconnect from.

Return values

Returns 0 on success or ILLEGAL_SESSION when the session mbox given is not a valid connection.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0