Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-13.1/lib/libc/tests/stdio/
H A Dperror_test.c82 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 Dtdel.c86 while ( fgets(wp1, 8192, stdin) &&
87 fgets(wp2, 8192, stdin) &&
108 while ( fgets(wp1, 8192, fp) &&
109 fgets(wp2, 8192, fp) &&
H A Dthash4.c89 while ( fgets(wp1, 8192, stdin) &&
90 fgets(wp2, 8192, stdin) &&
112 while ( fgets(wp1, 256, fp) &&
113 fgets(wp2, 8192, fp) &&
H A Dtcreat3.c84 while ( fgets(wp1, 8192, stdin) &&
85 fgets(wp2, 8192, stdin) &&
H A Dtread2.c85 while ( fgets(wp1, 8192, stdin) &&
86 fgets(wp2, 8192, stdin) &&
H A Dtverify.c85 while ( fgets(wp1, 8192, stdin) &&
86 fgets(wp2, 8192, stdin) &&
/freebsd-13.1/usr.sbin/vidcontrol/
H A Ddecode.c50 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 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-13.1/usr.sbin/pmcannotate/
H A Dpmcannotate.c199 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 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-13.1/usr.bin/msgs/
H A Dmsgs.c368 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 Dfgetln.c60 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 DfileHandlingTest.c73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL) in CompareFileContent()
74 && ( (fgets(expectedLine, lenExp, expected)) != NULL ) in CompareFileContent()
/freebsd-13.1/contrib/telnet/libtelnet/
H A Dread_password.c108 while (!fgets(s, max, stdin));
115 if (!fgets(key_string, sizeof(key_string), stdin)) {
/freebsd-13.1/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-13.1/libexec/mknetid/
H A Dmknetid.c185 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 Defidp.c146 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 DMakefile.inc9 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 Dlock.c171 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 Dgaithrstress.c161 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 Dreadrec.c124 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 Drevnetgroup.c124 while (fgets(readbuf, LINSIZ, fp)) { in main()
129 fgets((char *)&readbuf[strlen(readbuf) - 2], in main()
/freebsd-13.1/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-13.1/usr.sbin/ppp/
H A Dauth.c183 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 Dskimprintcap.c103 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()
246 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()

12345678910>>...19