Man Linux: Main Page and Category List

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)