yp_unbind Subroutine

Purpose

Manages socket descriptors for processes that access multiple domains.

Library

C Library (libc.a)

Syntax

#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>

void yp_unbind ( indomain)
char *indomain;

Description

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.

Parameters

Item Description
indomain Points to the name of the domain used as input to the subroutine.

Return Values

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.