Lines Matching refs:domain_fp
781 int domain_fp; in client_manual() local
1031 if ((domain_fp = open(DOMAINNAME, O_WRONLY|O_CREAT|O_TRUNC, in client_manual()
1051 (void) write(domain_fp, dname, strlen(dname)); in client_manual()
1052 (void) write(domain_fp, "\n", 1); in client_manual()
1053 (void) close(domain_fp); in client_manual()
1095 int domain_fp; in client_mod() local
1275 if ((domain_fp = open(DOMAINNAME, O_WRONLY|O_CREAT|O_TRUNC, in client_mod()
1294 (void) write(domain_fp, dname, strlen(dname)); in client_mod()
1295 (void) write(domain_fp, "\n", 1); in client_mod()
1296 (void) close(domain_fp); in client_mod()
2088 FILE *domain_fp; in start_services() local
2100 domain_fp = fopen(DOMAINNAME, "r"); in start_services()
2101 if (domain_fp == NULL) { in start_services()
2108 if (fgets(domainname, BUFSIZ, domain_fp) == NULL) { in start_services()
2114 if (fclose(domain_fp) != 0) { in start_services()
2201 if (domain_fp) { in start_services()