HP (Hewlett-Packard) NSARPA/1000 All in One Printer User Manual


 


          
host = gethostbyname(name)
host struct *host;
char *name;
host    hostent    

 hostent       
<netdb.h>SOCKET.PASI  SOCKET.FTNI  
    
name            
         
\0 

      /etc/hosts      
host = gethostent()
struct hostent *host;
host    hostent    
 hostent       
<netdb.h>SOCKET.PASI  SOCKET.FTNI  
    

      
error = getlocalname(hostname)
character*(*) hostname;
integer*2 error;
error            
  
hostname          
 hostname      