SP_disconnect(3) destroy connection between app and daemon

SYNOPSIS

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

DESCRIPTION

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.

BUGS

None.

AUTHOR

Yair Amir <[email protected]>
Jonathan Stanton <[email protected]>
Commedia Project <[email protected]>