Converts an operating-system-independent network name to a domain-specific host name.
C Library (libc.a)
#include <rpc/rpc.h>
netname2host ( name, host, hostlen)
char *name;
char *host;
int hostlen;
The netname2host subroutine converts an operating-system-independent network name to a domain-specific host name.
This subroutine is the inverse of the host2netname subroutine.
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.