Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-14.2/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-14.2/lib/libc/db/test/hash.tests/
H A Dtdel.c83 while ( fgets(wp1, 8192, stdin) &&
84 fgets(wp2, 8192, stdin) &&
105 while ( fgets(wp1, 8192, fp) &&
106 fgets(wp2, 8192, fp) &&
H A Dthash4.c86 while ( fgets(wp1, 8192, stdin) &&
87 fgets(wp2, 8192, stdin) &&
109 while ( fgets(wp1, 256, fp) &&
110 fgets(wp2, 8192, fp) &&
H A Dtread2.c82 while ( fgets(wp1, 8192, stdin) &&
83 fgets(wp2, 8192, stdin) &&
H A Dtcreat3.c81 while ( fgets(wp1, 8192, stdin) &&
82 fgets(wp2, 8192, stdin) &&
H A Dtverify.c82 while ( fgets(wp1, 8192, stdin) &&
83 fgets(wp2, 8192, stdin) &&
/freebsd-14.2/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-14.2/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-14.2/usr.sbin/pmcannotate/
H A Dpmcannotate.c197 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 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-14.2/usr.bin/msgs/
H A Dmsgs.c363 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 DfileHandlingTest.c73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL) in CompareFileContent()
74 && ( (fgets(expectedLine, lenExp, expected)) != NULL ) in CompareFileContent()
/freebsd-14.2/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-14.2/contrib/telnet/libtelnet/
H A Dread_password.c104 while (!fgets(s, max, stdin));
111 if (!fgets(key_string, sizeof(key_string), stdin)) {
/freebsd-14.2/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-14.2/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-14.2/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-14.2/lib/libc/stdio/
H A DMakefile.inc8 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 Dlock.c169 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 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-14.2/libexec/revnetgroup/
H A Drevnetgroup.c119 while (fgets(readbuf, LINSIZ, fp)) { in main()
124 fgets((char *)&readbuf[strlen(readbuf) - 2], in main()
/freebsd-14.2/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-14.2/usr.bin/locate/code/
H A Dlocate.code.c136 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 Dauth.c181 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 Dskimprintcap.c101 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()
244 curline = fgets(buff, sizeof(buff), pc_file); in skim_printcap()

12345678910>>...19