Home
last modified time | relevance | path

Searched refs:fgets (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/freebsd/lib/libc/tests/stdio/
H A Dperror_test.c79 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
83 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
87 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
92 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
/freebsd/lib/libc/db/test/hash.tests/
H A Dtdel.c74 while ( fgets(wp1, 8192, stdin) &&
75 fgets(wp2, 8192, stdin) &&
96 while ( fgets(wp1, 8192, fp) &&
97 fgets(wp2, 8192, fp) &&
H A Dthash4.c77 while ( fgets(wp1, 8192, stdin) &&
78 fgets(wp2, 8192, stdin) &&
100 while ( fgets(wp1, 256, fp) &&
101 fgets(wp2, 8192, fp) &&
H A Dtcreat3.c72 while ( fgets(wp1, 8192, stdin) &&
73 fgets(wp2, 8192, stdin) &&
H A Dtread2.c73 while ( fgets(wp1, 8192, stdin) &&
74 fgets(wp2, 8192, stdin) &&
H A Dtverify.c73 while ( fgets(wp1, 8192, stdin) &&
74 fgets(wp2, 8192, stdin) &&
/freebsd/lib/libc/secure/
H A Dfgets_chk.c42 #undef fgets
48 return (fgets(buf, len, fp)); in __fgets_chk()
53 return (fgets(buf, len, fp)); in __fgets_chk()
/freebsd/usr.sbin/vidcontrol/
H A Ddecode.c45 if (!fgets(temp, sizeof(temp), fd)) in decode()
51 if (!fgets(p = temp, sizeof(temp), fd)) in decode()
93 if (!fgets(temp, sizeof(temp), fd) || strcmp(temp, "end\n")) in decode()
/freebsd/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c86 while (fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
97 fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
110 fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
/freebsd/usr.sbin/pmcannotate/
H A Dpmcannotate.c199 while (fgets(buffer, LNBUFF, fp) != NULL) { in asmparse()
238 while (fgets(buffer, LNBUFF, fp) != NULL) { in cparse()
545 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printasm()
577 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printc()
612 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock()
639 } while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) != 0); in printblock()
647 while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) == 0) { in printblock()
662 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock()
790 while (fgets(buffer, LNBUFF, gfp) != NULL) { in main()
/freebsd/contrib/diff/lib/
H A Dunlocked-io.h68 # undef fgets
69 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
71 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/freebsd/usr.bin/msgs/
H A Dmsgs.c350 fgets(inbuf, sizeof inbuf, stdin); in main()
360 fgets(inbuf, sizeof inbuf, stdin); in main()
496 && fgets(inbuf, sizeof inbuf, newmsg) in main()
643 while (fgets(inbuf, sizeof inbuf, newmsg)) { in prmesg()
707 while (fgets(lbuf, sizeof lbuf, f)) in linecnt()
734 (void) fgets(inbuf, sizeof inbuf, stdin); in ask()
823 if (fgets(inbuf, sizeof inbuf, infile)) { in gfrsub()
866 while (fgets(inbuf, sizeof inbuf, infile) in gfrsub()
/freebsd/usr.sbin/efidp/
H A Defidp.c144 while (fgets(buffer, sizeof(buffer), stdin)) { in unix_to_efi()
174 while (fgets(buffer, sizeof(buffer), stdin)) { in efi_to_unix()
225 while (fgets(buffer, sizeof(buffer), stdin)) { in parse()
/freebsd/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL) in CompareFileContent()
74 && ( (fgets(expectedLine, lenExp, expected)) != NULL ) in CompareFileContent()
/freebsd/contrib/blocklist/port/
H A Dfgetln.c60 if (fgets(buf, bufsiz, fp) == NULL) in fgetln()
77 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
/freebsd/contrib/telnet/libtelnet/
H A Dread_password.c104 while (!fgets(s, max, stdin));
111 if (!fgets(key_string, sizeof(key_string), stdin)) {
/freebsd/lib/libc/stdio/
H A Dfgets.c43 #undef fgets /* _FORTIFY_SOURCE */
51 fgets(char * __restrict buf, int n, FILE * __restrict fp) in fgets() function
H A DMakefile.inc6 feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \
34 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
54 MLINKS+=fgets.3 gets.3
55 MLINKS+=fgets.3 gets_s.3
/freebsd/libexec/mknetid/
H A Dmknetid.c180 while(fgets(readbuf, LINSIZ, pfp)) { in main()
242 while ((ptr = fgets(readbuf, LINSIZ, hfp))) { in main()
278 while(fgets(readbuf, LINSIZ, nfp)) { in main()
/freebsd/contrib/wpa/src/utils/
H A Dconfig.c30 while (fgets(buf, sizeof(buf), stream)) { in skip_line_end()
43 while (fgets(s, size, stream)) { in wpa_config_get_line()
/freebsd/usr.bin/lock/
H A Dlock.c157 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in main()
164 (void)fgets(s1, sizeof(s1), stdin); in main()
231 if (!fgets(s, sizeof(s), stdin)) { in main()
/freebsd/tools/regression/gaithrstress/
H A Dgaithrstress.c159 while (fgets(newword, sizeof(newword), fp) != NULL) in dowordfile()
168 while (fgets(newword, sizeof(newword), fp) != NULL) { in dowordfile()
249 (void)fgets(waiting, sizeof(waiting), stdin); in main()
/freebsd/libexec/revnetgroup/
H A Drevnetgroup.c119 while (fgets(readbuf, LINSIZ, fp)) { in main()
124 fgets((char *)&readbuf[strlen(readbuf) - 2], in main()
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_event.c159 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) in getauevent_r_locked()
228 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) { in getauevnam_r_locked()
286 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) { in getauevnum_r_locked()
/freebsd/usr.bin/locate/code/
H A Dlocate.code.c124 if (fgets(bigrams, BGBUFSIZE + 1, fp) == NULL) { in main()
145 while (fgets(path, sizeof(buf2), stdin) != NULL) { in main()

12345678910>>...19