pmap_unset

Name

pmap_unset --  destroys RPC Binding

Synopsis


#include <rpc/pmap_clnt.h>

bool_t pmap_unset(u_long prognum, u_long versnum);

Description

As a user interface to the RPC Bind service, pmap_unset() destroys all mapping between the triple [prognum,versnum, *] and ports on the machine's RPC Bind service.

Return Value

pmap_unset() returns non-zero if it succeeds, zero otherwise.