Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SP_LEAVE(3)			 User Manuals			   SP_LEAVE(3)

NAME
       SP_leave	- create connection between app	and daemon

SYNOPSIS
       #include	<sp.h>
       int SP_leave( mailbox mbox, const char *group);

DESCRIPTION
       SP_leave	 leaves	 a group with the name passed as the string group.  If
       the group does not exist	amoung the Spread daemons  this	 operation  is
       ignored,	 otherwise  the	 Leave leaves the existing group.  The mbox of
       the connection upon which to leave a group is the first	parameter.</P>
       The group
	string represents the name of the group	to leave.

RETURN VALUES
       Returns 0 on success or one of the following errors ( < 0 ):

       ILLEGAL_GROUP
	       The  group  given to leave was illegal for some reason. Usually
	       because it was of length	0 or length > MAX_GROUP_NAME

       ILLEGAL_SESSION
	       The session specified by	mbox is	illegal. Usually because it is
	       not active.

       CONNECTION_CLOSED
	       During  communication errors occured and	the leave could	not be
	       initiated.

BUGS
       None.

AUTHOR
       Yair Amir <yairamir@cnds.jhu.edu>
       Jonathan	Stanton	<jonathan@cnds.jhu.edu>

SEE ALSO
       libspread(3)

SPREAD				   JULY	1998			   SP_LEAVE(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | BUGS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SP_leave&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help