Converts an operating-system-independent network name to a domain-specific host name.
C Library (libc.a)
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.
|name||Specifies the network name (or netname) of the server process owner. The name parameter can be either the host name derived from the host2netname subroutine or the user name derived from the user2netname subroutine.|
|host||Points to the name of the machine on which the permissions were created.|
|hostlen||Specifies the size of the host name.|
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 Version 4.3 Communications Programming Concepts.