Solstice X.25 9.2 Developer's Guide

8.17 setxhostent--Open and Rewind the xhosts File

Synopsis
#include <netx25/x25_proto.h>
 #include <netx25/xnetdb.h>

    void setxhostent(
      int stayopen
  );
Description

setxhostent opens the xhosts file and rewinds it. By default, this file is located in the /etc/SUNWconn/x25 directory.

Arguments

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.