User's Manual
#!1&)*+,&.*7*)&%*)..&)55,*)&&&&&8;
0*/).*71,5LM
" ! !$
host = gethostbyname(name)
host struct *host;
char *name;
host hostent ""
!$
% hostent "" "
<netdb.h>' SOCKET.PASI' SOCKET.FTNI' 7'
' +<% !' #$
name ! (" !
#" ( !$ %!
\0 $
0*/).**LM
* /etc/hosts " !$
host = gethostent()
struct hostent *host;
host hostent "" !$
% hostent "" "
<netdb.h>' SOCKET.PASI' SOCKET.FTNI' 7'
' +<% !' #$
0*!),!,5LM
" ! #!$
error = getlocalname(hostname)
character*(*) hostname;
integer*2 error;
error : " " 2
$
hostname " +<% !$
% hostname ! E $