Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c456 FILE *proto_fp; in first_pass_prototype() local
460 if ((proto_fp = fopen(protofile, "r")) == NULL) { in first_pass_prototype()
469 while (fgets(buf, BUFSIZ, proto_fp)) { in first_pass_prototype()
533 (void) fclose(proto_fp); in first_pass_prototype()
562 FILE *proto_fp; in second_pass_prototype() local
567 if ((proto_fp = fopen(protofile, "r")) == NULL) { in second_pass_prototype()
576 while (fgets(buf, BUFSIZ, proto_fp)) { in second_pass_prototype()
617 (void) fclose(proto_fp); in second_pass_prototype()
H A Dproto_list.c235 FILE *proto_fp; in read_in_protolist() local
242 if ((proto_fp = fopen(pname, "r")) == NULL) { in read_in_protolist()
251 while (get_line(proto_fp, line_vec)) { in read_in_protolist()
266 (void) fclose(proto_fp); in read_in_protolist()