netmgt_shutdown_agent manual page
Table of Contents

NAME

netmgt_shutdown_agent - unregister and terminate agent

SYNOPSIS

void
netmgt_shutdown_agent()

DESCRIPTION

netmgt_shutdown_agent unregisters the calling agent from the RPC system, and then shuts it down. It calls exit(2) on behalf of the agent with an exit value of zero.

If the agent did not define a shutdown routine when it was initialized, this function will be called automatically when the agent needs to be terminated. Otherwise, agents should call this function after they are finished and are about to exit - whether due to normal termination or a fatal error.

INPUT ARGUMENTS

None.

RETURN VALUE

Does not return a value.

DIAGNOSTICS

None.

SEE ALSO

netmgt_init_rpc_agent(3n)


Table of Contents