#include <netx25/x25_proto.h> #include <netx25/xnetdb.h> struct xhostent *getxhostent( );
getxhostent reads the next line of the /etc/SUNWconn/x25/hosts file. It opens the file if necessary.
There are no parameters.
A pointer to an xhostent structure. A return value of 0 indicates an error.