Converts a domain-specific host name to an operating-system-independent network name.
C Library (libc.a)
#include <rpc/rpc.h>
host2netname ( name, host, domain)
char *name;
char *host;
char *domain;
The host2netname subroutine converts a domain-specific host name to an operating-system-independent network name.
This subroutine is the inverse of the netname2host subroutine.
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
The netname2host subroutine, user2netname subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.