SP_disconnect man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SP_DISCONNECT(3)		 User Manuals		      SP_DISCONNECT(3)

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  con‐
       nections	 still	open to the daemon and may open a new connection after
       disconnecting.

       If any SP_ function returns a CONNECTION_CLOSED	or  NET_ERRROR_ON_SES‐
       SION  error  on any call, then the mailbox cannot be used anymore until
       it is disconnected with a call to this function and then reconnected by
       calling	SP_connect(). Any other SP_ calls will only immediately return
       the same error value.

       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>

SEE ALSO
       libspread(3)

SPREAD				   JULY 1998		      SP_DISCONNECT(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net