#include <netx25/x25_proto.h> #include <netx25/xnetdb.h> void setxhostent( int stayopen );
setxhostent opens the xhosts file and rewinds it. By default, this file is located in the /etc/SUNWconn/x25 directory.
The parameters are:
Table 8-18 setxhostent parameters
Parameter |
Description |
---|---|
stayopen |
Determines whether the file is closed once it has been rewound. 0 indicates the file is to be closed. |