Manages socket descriptors for processes that access multiple domains.
C Library (libc.a)
#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>
void yp_unbind ( indomain)
char *indomain;
The yp_unbind subroutine is available to manage socket descriptors for processes that access multiple domains. When the yp_unbind subroutine is used to free a domain, all per-process and per-node resources that were used to bind the domain are also freed.
Item | Description |
---|---|
indomain | Points to the name of the domain used as input to the subroutine. |
Upon successful completion, this routine returns a value of 0. If unsuccessful, it returns one of the error codes described in the rpcsvc/yp_prot.h file.