Searched refs:protof (Results 1 – 1 of 1) sorted by relevance
47 static FILE *protof = NULL; variable56 if (protof == NULL) in setprotoent()57 protof = fopen(_PATH_PROTOCOLS, "r" ); in setprotoent()59 rewind(protof); in setprotoent()66 if (protof) { in endprotoent()67 fclose(protof); in endprotoent()68 protof = NULL; in endprotoent()79 if (protof == NULL && (protof = fopen(_PATH_PROTOCOLS, "r" )) == NULL) in getprotoent()82 if ((p = fgets(line, BUFSIZ, protof)) == NULL) in getprotoent()