/freebsd/lib/libc/tests/stdio/ |
H A D | perror_test.c | 79 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 D | tdel.c | 74 while ( fgets(wp1, 8192, stdin) && 75 fgets(wp2, 8192, stdin) && 96 while ( fgets(wp1, 8192, fp) && 97 fgets(wp2, 8192, fp) &&
|
H A D | thash4.c | 77 while ( fgets(wp1, 8192, stdin) && 78 fgets(wp2, 8192, stdin) && 100 while ( fgets(wp1, 256, fp) && 101 fgets(wp2, 8192, fp) &&
|
H A D | tcreat3.c | 72 while ( fgets(wp1, 8192, stdin) && 73 fgets(wp2, 8192, stdin) &&
|
H A D | tread2.c | 73 while ( fgets(wp1, 8192, stdin) && 74 fgets(wp2, 8192, stdin) &&
|
H A D | tverify.c | 73 while ( fgets(wp1, 8192, stdin) && 74 fgets(wp2, 8192, stdin) &&
|
/freebsd/lib/libc/secure/ |
H A D | fgets_chk.c | 42 #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 D | decode.c | 45 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 D | h_hash.c | 86 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 D | pmcannotate.c | 199 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 D | unlocked-io.h | 68 # 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 D | msgs.c | 350 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 D | efidp.c | 144 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 D | fileHandlingTest.c | 73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL) in CompareFileContent() 74 && ( (fgets(expectedLine, lenExp, expected)) != NULL ) in CompareFileContent()
|
/freebsd/contrib/blocklist/port/ |
H A D | fgetln.c | 60 if (fgets(buf, bufsiz, fp) == NULL) in fgetln() 77 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
|
/freebsd/contrib/telnet/libtelnet/ |
H A D | read_password.c | 104 while (!fgets(s, max, stdin)); 111 if (!fgets(key_string, sizeof(key_string), stdin)) {
|
/freebsd/lib/libc/stdio/ |
H A D | fgets.c | 43 #undef fgets /* _FORTIFY_SOURCE */ 51 fgets(char * __restrict buf, int n, FILE * __restrict fp) in fgets() function
|
H A D | Makefile.inc | 6 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 D | mknetid.c | 180 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 D | config.c | 30 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 D | lock.c | 157 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 D | gaithrstress.c | 159 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 D | revnetgroup.c | 119 while (fgets(readbuf, LINSIZ, fp)) { in main() 124 fgets((char *)&readbuf[strlen(readbuf) - 2], in main()
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_event.c | 159 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 D | locate.code.c | 124 if (fgets(bigrams, BGBUFSIZE + 1, fp) == NULL) { in main() 145 while (fgets(path, sizeof(buf2), stdin) != NULL) { in main()
|