Home
last modified time | relevance | path

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

12345678910>>...29

/netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/
H A Dcpu_frequency.h136 while (fgets (temp, 1024, procf) != NULL) in get_cpu_frequency()
170 if (fgets (temp, 1024, cpufreqd) != NULL in get_cpu_frequency()
183 if (fgets (temp, 1024, pstatent) != NULL) in get_cpu_frequency()
199 if (fgets (temp, 1024, cpufreqf) != NULL) in get_cpu_frequency()
219 if (fgets (temp, 1024, cpufreqf_max) != NULL) in get_cpu_frequency()
238 if (fgets (temp, 1024, cpufreqf_ava) != NULL) in get_cpu_frequency()
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/
H A Dcpu_frequency.h136 while (fgets (temp, 1024, procf) != NULL) in get_cpu_frequency()
170 if (fgets (temp, 1024, cpufreqd) != NULL in get_cpu_frequency()
183 if (fgets (temp, 1024, pstatent) != NULL) in get_cpu_frequency()
199 if (fgets (temp, 1024, cpufreqf) != NULL) in get_cpu_frequency()
219 if (fgets (temp, 1024, cpufreqf_max) != NULL) in get_cpu_frequency()
238 if (fgets (temp, 1024, cpufreqf_ava) != NULL) in get_cpu_frequency()
/netbsd-src/games/ching/printching/
H A Dprintching.c109 hexptr = fgets(hexstr, 6+1, stdin); in main()
230 if (fgets(textln, sizeof(textln), chingf) == NULL) { in phx()
254 if (fgets(textln, sizeof(textln), chingf) == NULL) { in phx()
298 if (fgets(textln, sizeof(textln), chingf) == NULL) in phx()
318 if (fgets(textln, sizeof(textln), chingf) == NULL) in phx()
/netbsd-src/lib/libc/ssp/
H A Dfgets_chk.c43 #undef fgets
49 return fgets(buf, len, fp); in __fgets_chk()
54 return fgets(buf, len, fp); in __fgets_chk()
/netbsd-src/games/battlestar/
H A Dcypher.c415 fgets(buffer, 10, stdin); in cypher()
419 fgets(buffer, 10, stdin); in cypher()
423 fgets(buffer, 10, stdin); in cypher()
427 fgets(buffer, 10, stdin); in cypher()
431 fgets(buffer, 10, stdin); in cypher()
435 fgets(buffer, 10, stdin); in cypher()
439 fgets(buffer, 10, stdin); in cypher()
443 fgets(buffer, 10, stdin); in cypher()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dtestavl.c60 while ( fgets( command, sizeof( command ), stdin ) != NULL ) { in main()
83 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
94 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
103 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
H A Dtesttavl.c60 while ( fgets( command, sizeof( command ), stdin ) != NULL ) { in main()
79 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
90 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
99 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
/netbsd-src/distrib/utils/edlabel/
H A Dedlabel.c134 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_head_field()
187 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_geo()
193 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_geo()
302 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
309 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
315 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
439 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in label_modify()
522 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in main()
/netbsd-src/usr.bin/uudecode/
H A Duudecode.c138 if (!fgets(buf, sizeof(buf), stdin)) { in decode()
233 if (!fgets(p = buf, sizeof(buf), stdin)) { in decode()
268 if (!fgets(buf, sizeof(buf), stdin) || strcmp(buf, "end\n")) { in decode()
298 if (!fgets(inbuf, sizeof(inbuf), stdin)) { in base64_decode()
/netbsd-src/usr.sbin/diskpart/
H A Ddiskpart.c390 if ((fgets(buf, BUFSIZ, stdin) == NULL) || buf[0] != 'y') in promptfordisk()
394 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
415 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
441 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
452 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
473 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
484 if (fgets(buf, BUFSIZ, stdin) == NULL) in promptfordisk()
/netbsd-src/external/gpl3/gcc.old/dist/libssp/ssp/
H A Dstdio.h50 #undef fgets
89 FILE *__restrict__ __stream), fgets);
92 fgets (char *__restrict__ __s, int __n, FILE *__restrict__ __stream) in fgets() function
/netbsd-src/external/gpl3/gcc/dist/libssp/ssp/
H A Dstdio.h50 #undef fgets
89 FILE *__restrict__ __stream), fgets);
92 fgets (char *__restrict__ __s, int __n, FILE *__restrict__ __stream) in fgets() function
/netbsd-src/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()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dstdio-read.c152 fgets (char *s, int n, FILE *stream) in fgets() function
153 #undef fgets in fgets()
155 CALL_WITH_ERRNO_FIX (char *, fgets (s, n, stream), ret == NULL) in fgets()
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dunlocked-io.h66 # undef fgets
67 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
69 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dunlocked-io.h66 # undef fgets
67 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
69 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dunlocked-io.h66 # undef fgets
67 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
69 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dunlocked-io.h66 # undef fgets
67 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
69 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/netbsd-src/usr.bin/msgs/
H A Dmsgs.c373 fgets(inbuf, sizeof inbuf, stdin); in main()
383 fgets(inbuf, sizeof inbuf, stdin); in main()
522 && fgets(inbuf, sizeof inbuf, newmsg) in main()
656 while (fgets(inbuf, sizeof inbuf, newmsg)) { in prmesg()
721 while (fgets(lbuf, sizeof lbuf, f)) in linecnt()
748 (void) fgets(inbuf, sizeof inbuf, stdin); in ask()
836 if (fgets(inbuf, sizeof inbuf, infile)) { in gfrsub()
876 while (fgets(inbuf, sizeof inbuf, infile) in gfrsub()
/netbsd-src/usr.bin/lock/
H A Dlock.c197 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in main()
204 (void)fgets(s1, sizeof(s1), stdin); in main()
264 if (!fgets(s, sizeof(s), stdin)) { in main()
316 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in skey_auth()
/netbsd-src/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_print.c349 while (fgets(resbuf, 255, fd) != NULL) { in pr_start2()
406 while (fgets(buff, 255, p) != NULL) { in build_pr_list()
541 while (fgets(buff, 255, p) != NULL) { in build_pr_list()
666 while (fgets(buff, 255, p) != NULL) { in build_pr_queue()
746 while (fgets(buff, 255, p) != NULL) { in build_pr_queue()
912 while (fgets(buff, 255, p) != NULL) { in get_pr_status()
974 while (fgets(buff, 255, p) != NULL) { in get_pr_status()
990 while (fgets(buff, 255, p) != NULL && isspace((unsigned char)buff[0])) { in get_pr_status()
1089 if (fgets(resbuf, 255, fd) == NULL) in pr_cancel()
1135 while (fgets(resbuf, 255, fd) != NULL) { in pr_cancel()
/netbsd-src/sys/arch/powerpc/tools/chrpicon/chrpicontoppm/
H A Dchrpicontoppm.c146 while (fgets(line, MAX_LINE_LENGTH, fp)) { in CHRPI_getheader()
174 while (fgets(line, MAX_LINE_LENGTH, fp)) { in CHRPI_getbitmap()
194 if ((p = fgets(line, MAX_LINE_LENGTH, fp)) == NULL) { in CHRPI_getbitmap()
/netbsd-src/games/hangman/
H A Dgetword.c58 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
60 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
/netbsd-src/external/lgpl3/gmp/dist/tune/
H A Dfreq.c389 while (fgets (buf, sizeof (buf), fp) != NULL) in freq_proc_cpuinfo()
451 while (fgets (buf, sizeof (buf), fp) != NULL) in freq_sunos_sysinfo()
490 while (fgets (buf, sizeof (buf), fp) != NULL) in freq_sco_etchw()
572 while (fgets (buf, sizeof (buf), fp) != NULL) in freq_bsd_dmesg()
622 while (fgets (buf, sizeof (buf), fp) != NULL) in freq_irix_hinv()
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpixtract/
H A Dacpixtract.c125 while (fgets (Gbl_LineBuffer, AX_LINE_BUFFER_SIZE, InputFile)) in AxExtractTables()
329 while (fgets (Gbl_LineBuffer, AX_LINE_BUFFER_SIZE, InputFile)) in AxExtractToMultiAmlFile()
487 while (fgets (Gbl_LineBuffer, AX_LINE_BUFFER_SIZE, InputFile)) in AxListAllTables()

12345678910>>...29