Installs the network name of the caller in the array specified by the name parameter.
C Library (libc.a)
#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.
The host2netname subroutine, user2netname subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.