Installs the network name of the caller in the array specified by the name parameter.
#include <rpc/rpc.h>
getnetname ( name)
char name [MAXNETNAMELEN];
The getnetname subroutine installs the caller's unique, operating-system-independent network name in the fixed-length array specified by the name parameter.
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
The host2netname subroutine, user2netname subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.