SP_disconnect

Langue: en

Version: JULY 1998 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SP_disconnect - 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 <yairamir@cnds.jhu.edu>
Jonathan Stanton <jonathan@cnds.jhu.edu>
Commedia Project <commedia@cnds.jhu.edu>

SEE ALSO

libsp(3)