Provided by: libspread1-dev_3.17.4-3_amd64
SP_disconnect - destroy connection between app and daemon
#include <sp.h> int SP_disconnect( mailbox mbox);
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.
Returns 0 on success or ILLEGAL_SESSION when the session mbox given is not a valid connection.
Yair Amir <email@example.com> Jonathan Stanton <firstname.lastname@example.org> Commedia Project <email@example.com>