Searched refs:hostsfile (Results 1 – 3 of 3) sorted by relevance
46 my $hostsfile = shift;56 @hosts = read_hosts($hostsfile) if $hostsfile;83 my ($hostsfile) = @_;86 open my $hosts, $hostsfile 87 or die "$program: FATAL: unable to read $hostsfile: $!\n";
6 my $hostsfile = '/etc/hosts';11 open( HOSTS,"<${hostsfile}" ) or die( "Could not open ${hostsfile}: $!" );
66 char *hostsfile = _PATH_HOSTS; variable121 hostsfile = optarg; in main()152 if ((hfp = fopen(hostsfile, "r")) == NULL) { in main()153 err(1, "%s", hostsfile); in main()