Home
last modified time | relevance | path

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

12345678910>>...14

/openbsd-src/games/bcd/
H A Dbcd.c165 while (fgets(cardline, sizeof(cardline), stdin)) in main()
257 if (fgets(tmp, sizeof(tmp), stdin) == NULL) in decode()
260 if (fgets(tmp, sizeof(tmp), stdin) == NULL) in decode()
264 if (fgets(lines[i], sizeof(lines[i]), stdin) == NULL) in decode()
267 if (fgets(tmp, sizeof(tmp), stdin) == NULL) in decode()
/openbsd-src/gnu/usr.bin/cvs/vms/
H A Dpc.c25 fgets(line, 511, stdin);
45 fgets(line, 511, stdin);
54 fgets(line, 511, in);
/openbsd-src/gnu/gcc/libssp/ssp/
H A Dstdio.h51 #undef fgets
90 FILE *__restrict__ __stream), fgets);
93 fgets (char *__restrict__ __s, int __n, FILE *__restrict__ __stream) in fgets() function
/openbsd-src/usr.bin/comm/
H A Dcomm.c108 file1done = !fgets(line1, MAXLINELEN, fp1); in main()
110 file2done = !fgets(line2, MAXLINELEN, fp2); in main()
158 while (printf("%s%s", offset, buf) >= 0 && fgets(buf, MAXLINELEN, fp)) in show()
/openbsd-src/gnu/usr.bin/perl/vms/
H A Dmunchconfig.c118 while(ifile && fgets(LineBuffer, LINEBUFFERSIZE - 1, Extra_Subs)) { in main()
147 while(fgets(LineBuffer, LINEBUFFERSIZE - 1, ConfigSH)) { in main()
182 fgets(SecondaryLineBuffer, LINEBUFFERSIZE - 1, ConfigSH); in main()
222 while(!strstr(fgets(LineBuffer, LINEBUFFERSIZE, Config_H), in main()
233 while(!strstr(fgets(LineBuffer, LINEBUFFERSIZE, Config_H), in main()
/openbsd-src/games/hangman/
H A Dgetword.c64 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
66 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
/openbsd-src/gnu/usr.bin/gcc/gcc/intl/
H A Dlocalealias.c99 # undef fgets
100 # define fgets(buf, len, s) fgets_unlocked (buf, len, s) macro
232 if (fgets (buf, sizeof buf, fp) == NULL)
242 if (fgets (altbuf, sizeof altbuf, fp) == NULL)
/openbsd-src/lib/libc/stdio/
H A Dfgets.c46 fgets(char *buf, int n, FILE *fp) in fgets() function
106 DEF_STRONG(fgets);
H A DMakefile.inc9 fgetln.c fgetpos.c fgets.c fileno.c findfp.c flags.c fmemopen.c \
25 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fmemopen.3 \
/openbsd-src/games/hack/
H A Dhack.rumors.c99 if(!fgets(line, sizeof(line), rumf)) return(0); in skipline()
109 if(!fgets(line, sizeof(line), rumf)) return; in outline()
/openbsd-src/gnu/gcc/libcpp/
H A Dmakeucnid.c65 if (!fgets (line, sizeof (line), f)) in read_ucnid()
127 if (!fgets (line, sizeof (line), f)) in read_table()
202 if (!fgets (line, sizeof (line), f)) in read_derived()
/openbsd-src/gnu/usr.bin/perl/ext/SDBM_File/
H A Ddbu.c116 while (fgets(line, LINEMAX, stdin) != NULL) { in doit()
134 while (fgets(line, LINEMAX, stdin) != NULL) { in doit()
158 while (fgets(line, LINEMAX, stdin) != NULL) { in doit()
/openbsd-src/usr.sbin/edquota/
H A Dedquota.c444 (void)fgets(line1, sizeof (line1), fp); in readprivs()
445 while (fgets(line1, sizeof (line1), fp) != NULL && in readprivs()
446 fgets(line2, sizeof (line2), fp) != NULL) { in readprivs()
582 (void)fgets(line1, sizeof (line1), fp); in readtimes()
583 (void)fgets(line1, sizeof (line1), fp); in readtimes()
584 while (fgets(line1, sizeof (line1), fp) != NULL) { in readtimes()
/openbsd-src/gnu/usr.bin/texinfo/intl/
H A Dlocalealias.c101 # define FGETS(buf, n, fp) fgets (buf, n, fp)
114 # undef fgets
115 # define fgets(buf, len, s) fgets_unlocked (buf, len, s) macro
/openbsd-src/gnu/gcc/intl/
H A Dlocalealias.c101 # define FGETS(buf, n, fp) fgets (buf, n, fp)
114 # undef fgets
115 # define fgets(buf, len, s) fgets_unlocked (buf, len, s) macro
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dinput-file.c173 fgets (buf, 80, f_in); in input_file_open()
183 fgets (buf, 80, f_in); in input_file_open()
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Dinput-file.c169 fgets (buf, 80, f_in); in input_file_open()
179 fgets (buf, 80, f_in); in input_file_open()
/openbsd-src/usr.sbin/unbound/testcode/
H A Dunitldns.c168 while(fgets(txt_in, (int)bufs, inf)) { in rr_test_file()
175 if(!fgets(wire_chk, (int)bufs, chf)) in rr_test_file()
177 if(!fgets(txt_chk, (int)bufs, chf)) in rr_test_file()
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cstdio.h62 #undef fgets
109 using ::fgets;
/openbsd-src/usr.bin/locate/code/
H A Dlocate.code.c141 if (fgets(bigrams, sizeof(bigrams), fp) == NULL) { in main()
171 while (fgets(path, sizeof(buf2), stdin) != NULL) { in main()
/openbsd-src/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cstdio.h63 #undef fgets
110 using ::fgets;
/openbsd-src/gnu/gcc/fixincludes/
H A Dsystem.h118 # undef fgets
119 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) macro
/openbsd-src/usr.sbin/config/
H A Dmkheaders.c96 while (fgets(buf, sizeof(buf), fp) != NULL) { in emitcnt()
161 while (fgets(buf, sizeof(buf), fp) != NULL) { in emitopt()
/openbsd-src/usr.sbin/amd/amd/
H A Dinfo_file.c55 while (fgets(buf, size, fp)) { in read_line()
177 while (fgets(key_val, sizeof(key_val), fp) && in search_or_reload_file()
/openbsd-src/regress/lib/libc/stdio_threading/
H A DMakefile1 SUBDIR += fopen fread fwrite fgetln fgets fputs

12345678910>>...14