pmap_unset

Name

pmap_unset --  Destroys RPC Binding

Synopsis


#include <rpc/rpc.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 1 if it succeeds, zero otherwise.