Home
last modified time | relevance | path

Searched refs:getc (Results 1 – 25 of 120) sorted by relevance

12345

/minix/external/bsd/libpcap/dist/
H A Detherent.c82 c = getc(f);
95 c = getc(f);
125 c = getc(fp); in pcap_next_etherent()
129 c = getc(fp); in pcap_next_etherent()
134 c = getc(fp); in pcap_next_etherent()
161 c = getc(fp); in pcap_next_etherent()
/minix/external/bsd/nvi/dist/catalog/
H A Ddump.c33 if ((s = getc(fp)) == EOF) \
39 if ((ch = getc(fp)) == EOF) \
46 if ((ch = getc(fp)) == EOF) \
62 if ((ch = getc(fp)) == EOF)
68 if ((ch = getc(fp)) == EOF)
/minix/usr.bin/ftp/
H A Druserpass.c184 while ((c = getc(cfile)) != EOF) in ruserpass()
200 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in ruserpass()
212 while ((c = getc(cfile)) != EOF && c != '\n'); in ruserpass()
229 if ((c = getc(cfile)) == EOF) { in ruserpass()
280 while ((c = getc(cfile)) != EOF && in token()
287 while ((c = getc(cfile)) != EOF && c != '"') { in token()
289 if ((c = getc(cfile)) == EOF) in token()
299 while ((c = getc(cfile)) != EOF in token()
302 if ((c = getc(cfile)) == EOF) in token()
/minix/usr.bin/soelim/
H A Dsoelim.c189 c = getc(soee); in process()
194 c = getc(soee); in process()
199 c = getc(soee); in process()
205 c = getc(soee); in process()
220 c = getc(soee); in process()
240 c = getc(soee); in process()
/minix/external/bsd/bind/dist/contrib/zkt-1.1.3/
H A Dncparse.c126 while ( (c = getc (fp)) != EOF && isspace (c) ) in gettok()
131 while ( (c = getc (fp)) != EOF && c != '\n' ) in gettok()
144 if ( (c = getc (fp)) == '*' ) /* yes! */ in gettok()
147 while ( (c = getc (fp)) != EOF && !(lastc == '*' && c == '/') ) in gettok()
152 while ( (c = getc (fp)) != EOF && c != '\n' ) in gettok()
164 while ( (c = getc (fp)) != EOF && p < bufend && c != '\"' ) in gettok()
169 c = getc (fp); in gettok()
178 while ( (c = getc (fp)) != EOF && p < bufend && (isalpha (c) || c == '-') ); in gettok()
/minix/usr.bin/cmp/
H A Dspecial.c64 ch1 = getc(fp1); in c_special()
71 ch2 = getc(fp2); in c_special()
79 ch1 = getc(fp1); in c_special()
80 ch2 = getc(fp2); in c_special()
/minix/lib/libc/stdio/
H A DMakefile.inc15 getc.c getchar.c getdelim.c getline.c gettemp.c getw.c getwc.c \
32 fseek.3 funopen.3 fwide.3 getc.3 getdelim.3 getwc.3 mktemp.3 printf.3 \
47 MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
48 getc.3 getchar_unlocked.3 getc.3 getw.3
H A Dgetc.c53 #undef getc
57 getc(FILE *fp) in getc() function
/minix/external/bsd/flex/dist/examples/fastwc/
H A Dmywc.c11 while ((c = getc(f)) != EOF) { in main()
16 c = getc(f); in main()
/minix/usr.bin/tail/
H A Dforward.c113 if ((ch = getc(fp)) == EOF) { in forward()
125 if ((ch = getc(fp)) == EOF) { in forward()
144 while (getc(fp) != EOF); in forward()
166 while (getc(fp) != EOF); in forward()
192 while ((ch = getc(fp)) != EOF) { in forward()
H A Dread.c76 for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) { in displaybytes()
155 while ((ch = getc(fp)) != EOF) { in displaylines()
/minix/external/bsd/libc++/dist/libcxx/include/
H A Dcstdio75 int getc(FILE* stream);
111 #ifdef getc
112 inline _LIBCPP_INLINE_VISIBILITY int __libcpp_getc(FILE* __stream) {return getc(__stream);}
113 #undef getc
114 inline _LIBCPP_INLINE_VISIBILITY int getc(FILE* __stream) {return __libcpp_getc(__stream);}
115 #endif // getc
167 using ::getc;
/minix/games/adventure/
H A Dsetup.c99 while ((c = getc(infile)) != EOF) { in main()
103 while ((c = getc(infile)) == ' ' && c != EOF); in main()
/minix/usr.bin/fmt/
H A Dfmt.c258 c = getc(fi); in fmt()
269 c = getc(fi); in fmt()
273 c = getc(fi); in fmt()
277 c = getc(fi); in fmt()
311 c = getc(fi); in fmt()
/minix/external/bsd/file/dist/tests/
H A Dtest.c53 for (c = getc(fp); c != EOF; c = getc(fp)) { in slurp()
/minix/external/bsd/dhcp/dist/dst/
H A Ddst_api.c508 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
512 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
518 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
521 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
527 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
530 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
539 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
542 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
561 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
/minix/minix/usr.bin/diff/
H A Ddiffreg.c777 c = getc(f1); in check()
778 d = getc(f2); in check()
796 } while (isspace(c = getc(f1))); in check()
801 } while (isspace(d = getc(f2))); in check()
804 c = getc(f1); in check()
808 d = getc(f2); in check()
828 if ((c = getc(f1)) != (d = getc(f2))) { in check()
949 if ((c = getc(f1)) == EOF) in output()
1161 putchar(getc(lb)); in fetch()
1190 if ((c = getc(lb)) == EOF) { in fetch()
[all …]
/minix/games/fortune/strfile/
H A Dstrfile.c389 while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0') in cmp_str()
391 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0') in cmp_str()
405 c1 = getc(Sort_1); in cmp_str()
406 c2 = getc(Sort_2); in cmp_str()
/minix/usr.bin/colcrt/
H A Dcolcrt.c116 c = getc(stdin); in main()
133 c = getc(stdin); in main()
/minix/usr.bin/vis/
H A Dvis.c199 c = (wint_t)getc(fp); in process()
210 rachar = (wint_t)getc(fp); in process()
/minix/minix/commands/lpd/
H A Dlpd.c214 while ((c= getc(f)) != EOF) { in print()
223 } while ((c= getc(f)) != EOF); in print()
278 if (pf == file + sizeof(file) || (c= getc(j)) == EOF) { in work()
/minix/minix/commands/compress/
H A Dcompress.c481 if (((magic1 = getc(stdin)) != (magic_header[0] & 0xFF))
482 || ((magic2 = getc(stdin)) != (magic_header[1] & 0xFF)))
489 maxbits = getc(stdin); /* set -b from file */
688 if ((getc(stdin)!=(magic_header[0] & 0xFF))
689 || (getc(stdin)!=(magic_header[1] & 0xFF)))
694 maxbits = getc(stdin); /* set -b from file */
775 ent = getc(stdin); in compress()
786 while ( (c = getc(stdin)) != (unsigned) EOF ) in compress()
788 while ( (c = getc(stdin)) != EOF ) in compress()
/minix/usr.bin/sort/
H A Dfiles.c113 c = getc(fp); in makeline()
192 while ((c = getc(fp)) != EOF) { in seq()
/minix/usr.bin/tsort/
H A Dtsort.c159 for (n = 0, c = getc(fp);;) { in main()
161 c = getc(fp); in main()
172 c = getc(fp); in main()
/minix/usr.bin/cut/
H A Dx_cut.c48 # define CUT_GETC getc

12345