| /freebsd-14.2/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-14.2/lib/libc/db/test/hash.tests/ |
| H A D | tdel.c | 83 while ( fgets(wp1, 8192, stdin) && 84 fgets(wp2, 8192, stdin) && 105 while ( fgets(wp1, 8192, fp) && 106 fgets(wp2, 8192, fp) &&
|
| H A D | thash4.c | 86 while ( fgets(wp1, 8192, stdin) && 87 fgets(wp2, 8192, stdin) && 109 while ( fgets(wp1, 256, fp) && 110 fgets(wp2, 8192, fp) &&
|
| H A D | tread2.c | 82 while ( fgets(wp1, 8192, stdin) && 83 fgets(wp2, 8192, stdin) &&
|
| H A D | tcreat3.c | 81 while ( fgets(wp1, 8192, stdin) && 82 fgets(wp2, 8192, stdin) &&
|
| H A D | tverify.c | 82 while ( fgets(wp1, 8192, stdin) && 83 fgets(wp2, 8192, stdin) &&
|
| /freebsd-14.2/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-14.2/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-14.2/usr.sbin/pmcannotate/ |
| H A D | pmcannotate.c | 197 while (fgets(buffer, LNBUFF, fp) != NULL) { in asmparse() 236 while (fgets(buffer, LNBUFF, fp) != NULL) { in cparse() 519 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printasm() 551 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printc() 586 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock() 613 } while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) != 0); in printblock() 621 while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) == 0) { in printblock() 636 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock() 753 while (fgets(buffer, LNBUFF, gfp) != NULL) { in main()
|
| /freebsd-14.2/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-14.2/usr.bin/msgs/ |
| H A D | msgs.c | 363 fgets(inbuf, sizeof inbuf, stdin); in main() 373 fgets(inbuf, sizeof inbuf, stdin); in main() 509 && fgets(inbuf, sizeof inbuf, newmsg) in main() 656 while (fgets(inbuf, sizeof inbuf, newmsg)) { in prmesg() 720 while (fgets(lbuf, sizeof lbuf, f)) in linecnt() 747 (void) fgets(inbuf, sizeof inbuf, stdin); in ask() 836 if (fgets(inbuf, sizeof inbuf, infile)) { in gfrsub() 879 while (fgets(inbuf, sizeof inbuf, infile) in gfrsub()
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/lib/libc/stdio/ |
| H A D | Makefile.inc | 8 feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \ 36 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \ 52 MLINKS+=fgets.3 gets.3 53 MLINKS+=fgets.3 gets_s.3
|
| /freebsd-14.2/usr.bin/lock/ |
| H A D | lock.c | 169 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in main() 176 (void)fgets(s1, sizeof(s1), stdin); in main() 243 if (!fgets(s, sizeof(s), stdin)) { in main()
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/usr.bin/locate/code/ |
| H A D | locate.code.c | 136 if (fgets(bigrams, BGBUFSIZE + 1, fp) == NULL) { in main() 157 while (fgets(path, sizeof(buf2), stdin) != NULL) { in main()
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | auth.c | 181 while (fgets(buff, sizeof buff, fp)) { in auth_SetPhoneList() 242 while (fgets(buff, sizeof buff, fp)) { in auth_Select() 309 while (fgets(buff, sizeof buff, fp)) { in auth_Validate() 363 while (fgets(buff, sizeof buff, fp)) { in auth_GetSecret()
|
| /freebsd-14.2/usr.sbin/lpr/chkprintcap/ |
| H A D | skimprintcap.c | 101 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap() 244 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()
|