| /freebsd-13.1/lib/libc/tests/stdio/ |
| H A D | perror_test.c | 82 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY() 86 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY() 90 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY() 95 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
|
| /freebsd-13.1/lib/libc/db/test/hash.tests/ |
| H A D | tdel.c | 86 while ( fgets(wp1, 8192, stdin) && 87 fgets(wp2, 8192, stdin) && 108 while ( fgets(wp1, 8192, fp) && 109 fgets(wp2, 8192, fp) &&
|
| H A D | thash4.c | 89 while ( fgets(wp1, 8192, stdin) && 90 fgets(wp2, 8192, stdin) && 112 while ( fgets(wp1, 256, fp) && 113 fgets(wp2, 8192, fp) &&
|
| H A D | tcreat3.c | 84 while ( fgets(wp1, 8192, stdin) && 85 fgets(wp2, 8192, stdin) &&
|
| H A D | tread2.c | 85 while ( fgets(wp1, 8192, stdin) && 86 fgets(wp2, 8192, stdin) &&
|
| H A D | tverify.c | 85 while ( fgets(wp1, 8192, stdin) && 86 fgets(wp2, 8192, stdin) &&
|
| /freebsd-13.1/usr.sbin/vidcontrol/ |
| H A D | decode.c | 50 if (!fgets(temp, sizeof(temp), fd)) in decode() 56 if (!fgets(p = temp, sizeof(temp), fd)) in decode() 98 if (!fgets(temp, sizeof(temp), fd) || strcmp(temp, "end\n")) in decode()
|
| /freebsd-13.1/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-13.1/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() 526 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printasm() 558 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printc() 593 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock() 620 } while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) != 0); in printblock() 628 while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) == 0) { in printblock() 643 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock() 760 while (fgets(buffer, LNBUFF, gfp) != NULL) { in main()
|
| /freebsd-13.1/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-13.1/usr.bin/msgs/ |
| H A D | msgs.c | 368 fgets(inbuf, sizeof inbuf, stdin); in main() 378 fgets(inbuf, sizeof inbuf, stdin); in main() 514 && fgets(inbuf, sizeof inbuf, newmsg) in main() 661 while (fgets(inbuf, sizeof inbuf, newmsg)) { in prmesg() 725 while (fgets(lbuf, sizeof lbuf, f)) in linecnt() 752 (void) fgets(inbuf, sizeof inbuf, stdin); in ask() 841 if (fgets(inbuf, sizeof inbuf, infile)) { in gfrsub() 884 while (fgets(inbuf, sizeof inbuf, infile) in gfrsub()
|
| /freebsd-13.1/contrib/blacklist/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-13.1/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-13.1/contrib/telnet/libtelnet/ |
| H A D | read_password.c | 108 while (!fgets(s, max, stdin)); 115 if (!fgets(key_string, sizeof(key_string), stdin)) {
|
| /freebsd-13.1/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-13.1/libexec/mknetid/ |
| H A D | mknetid.c | 185 while(fgets(readbuf, LINSIZ, pfp)) { in main() 247 while ((ptr = fgets(readbuf, LINSIZ, hfp))) { in main() 283 while(fgets(readbuf, LINSIZ, nfp)) { in main()
|
| /freebsd-13.1/usr.sbin/efidp/ |
| H A D | efidp.c | 146 while (fgets(buffer, sizeof(buffer), stdin)) { in unix_to_efi() 177 while (fgets(buffer, sizeof(buffer), stdin)) { in efi_to_unix() 228 while (fgets(buffer, sizeof(buffer), stdin)) { in parse()
|
| /freebsd-13.1/lib/libc/stdio/ |
| H A D | Makefile.inc | 9 feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \ 37 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \ 53 MLINKS+=fgets.3 gets.3 54 MLINKS+=fgets.3 gets_s.3
|
| /freebsd-13.1/usr.bin/lock/ |
| H A D | lock.c | 171 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in main() 178 (void)fgets(s1, sizeof(s1), stdin); in main() 245 if (!fgets(s, sizeof(s), stdin)) { in main()
|
| /freebsd-13.1/tools/regression/gaithrstress/ |
| H A D | gaithrstress.c | 161 while (fgets(newword, sizeof(newword), fp) != NULL) in dowordfile() 170 while (fgets(newword, sizeof(newword), fp) != NULL) { in dowordfile() 251 (void)fgets(waiting, sizeof(waiting), stdin); in main()
|
| /freebsd-13.1/contrib/opie/libopie/ |
| H A D | readrec.c | 124 if (fgets(opie->opie_buf, sizeof(opie->opie_buf), f)) 151 if (!fgets(opie->opie_buf, sizeof(opie->opie_buf), f)) {
|
| /freebsd-13.1/libexec/revnetgroup/ |
| H A D | revnetgroup.c | 124 while (fgets(readbuf, LINSIZ, fp)) { in main() 129 fgets((char *)&readbuf[strlen(readbuf) - 2], in main()
|
| /freebsd-13.1/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-13.1/usr.sbin/ppp/ |
| H A D | auth.c | 183 while (fgets(buff, sizeof buff, fp)) { in auth_SetPhoneList() 244 while (fgets(buff, sizeof buff, fp)) { in auth_Select() 311 while (fgets(buff, sizeof buff, fp)) { in auth_Validate() 365 while (fgets(buff, sizeof buff, fp)) { in auth_GetSecret()
|
| /freebsd-13.1/usr.sbin/lpr/chkprintcap/ |
| H A D | skimprintcap.c | 103 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap() 246 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()
|