Home
last modified time | relevance | path

Searched refs:hostfp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c1140 FILE *hostfp = NULL; in create_hostsfile() local
1200 (hostfp = fdopen(hostfd, "w+")) == NULL) { in create_hostsfile()
1215 if (fprintf(hostfp, "%s\t%s\n", ipstr, hostname) < 0) { in create_hostsfile()
1226 if (hostfp != NULL) { in create_hostsfile()
1230 (void) fclose(hostfp); in create_hostsfile()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c2304 FILE *hostfp, *host6fp; in if_configure_hostname() local
2326 if ((hostfp = fopen(cfgfile, "r")) != NULL) { in if_configure_hostname()
2341 if (hostfp != NULL && in if_configure_hostname()
2342 if_config_inst(ifinst, hostfp, AF_INET, ipmp) == -1) { in if_configure_hostname()
2355 (void) fclose(hostfp); in if_configure_hostname()
2361 (void) fclose(hostfp); in if_configure_hostname()