Home
last modified time | relevance | path

Searched refs:ungetc (Results 1 – 25 of 68) sorted by relevance

123

/glibc-2.36/stdio-common/
Dtst-ungetc.c40 assert (ungetc ('z', fp) == 'z'); in main()
44 assert (ungetc ('m', fp) == 'm'); in main()
48 assert (ungetc (c, fp) == c); in main()
59 assert (ungetc ('b', fp) == 'b'); in main()
Dvfscanf-internal.c78 # define ungetc(c, s) ((void) (c == WEOF \ macro
112 # define ungetc(c, s) ((void) ((int) c == EOF \ macro
471 ungetc (c, s); in __vfwscanf_internal()
633 ungetc (c, s); in __vfwscanf_internal()
1594 ungetc (c, s); in __vfwscanf_internal()
1646 ungetc (c, s); in __vfwscanf_internal()
1705 ungetc (c, s); in __vfwscanf_internal()
1778 ungetc (c, s); in __vfwscanf_internal()
1833 ungetc (c, s); in __vfwscanf_internal()
1840 ungetc (c, s); in __vfwscanf_internal()
[all …]
Dtst-fseek.c377 else if (ungetc ('9', fp) == EOF) in do_test()
DMakefile203 tst-ungetc \
/glibc-2.36/libio/
Dioungetc.c30 ungetc (int c, FILE *fp) in ungetc() function
43 libc_hidden_def (ungetc)
44 strong_alias (ungetc, _IO_ungetc)
Dtst-bz22415.c47 TEST_VERIFY_EXIT (ungetc ('x', f) == 'x'); in do_test()
63 TEST_VERIFY_EXIT (ungetc ('x', f) == 'x'); in do_test()
Dbug-ungetc.c43 if (ungetc ('4', f) != '4') in do_test()
Dbug-ungetc3.c57 if (ungetc ('6', f) != '6') in do_one_test()
Dbug-ungetc2.c66 if (ungetc (' ', fp) == EOF) in do_test()
Dbug-ungetc4.c78 if (mode != 2 && ungetc ('X', f) != 'X') in do_one_test()
DVersions74 ungetc;
DMakefile58 tst-freopen bug-rewind bug-rewind2 bug-ungetc bug-fseek \
Dstdio.h668 extern int ungetc (int __c, FILE *__stream);
/glibc-2.36/nss/nss_files/
Dfiles-alias.c279 ungetc (ch, stream); in libc_hidden_def()
/glibc-2.36/include/
Dstdio.h216 libc_hidden_proto (ungetc)
/glibc-2.36/conform/data/
Dstdio.h-data161 function int ungetc (int, FILE*)
/glibc-2.36/manual/
Dstdio.texi1404 * How Unread:: How to call @code{ungetc} to do unreading.
1453 @subsection Using @code{ungetc} To Do Unreading
1455 The function to unread a character is called @code{ungetc}, because it
1458 @deftypefun int ungetc (int @var{c}, FILE *@var{stream})
1461 The @code{ungetc} function pushes back the character @var{c} onto the
1465 If @var{c} is @code{EOF}, @code{ungetc} does nothing and just returns
1466 @code{EOF}. This lets you call @code{ungetc} with the return value of
1472 unreading them with @code{ungetc}! But that is a strange way to write a
1473 program; usually @code{ungetc} is used only to unread a character that
1478 words, it does not work to call @code{ungetc} twice without doing input
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.22269 * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer.
2324 * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the
2370 * stdio/ungetc.c: If STREAM is writable and has something in its
3498 * stdio/fseek.c (fseek): Discard char pushed back by ungetc.
/glibc-2.36/sysdeps/unix/sysv/linux/or1k/
Dlibc.abilist1998 GLIBC_2.35 ungetc F
/glibc-2.36/sysdeps/unix/sysv/linux/loongarch/lp64/
Dlibc.abilist2025 GLIBC_2.36 ungetc F
/glibc-2.36/sysdeps/unix/sysv/linux/riscv/rv32/
Dlibc.abilist2035 GLIBC_2.33 ungetc F
/glibc-2.36/sysdeps/mach/hurd/i386/
Dlibc.abilist1794 GLIBC_2.2.6 ungetc F
/glibc-2.36/sysdeps/unix/sysv/linux/arc/
Dlibc.abilist2025 GLIBC_2.32 ungetc F
/glibc-2.36/sysdeps/unix/sysv/linux/riscv/rv64/
Dlibc.abilist2096 GLIBC_2.27 ungetc F
/glibc-2.36/sysdeps/unix/sysv/linux/aarch64/
Dlibc.abilist2084 GLIBC_2.17 ungetc F

123