diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-13 05:57:35 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-13 05:57:35 +0000 |
| commit | be25b01844f35082ef79d479f23a12a1e8ca252b (patch) | |
| tree | 7ae1fe87e9655ab893015248eb484483ed61865c /gnu/lib/libg++/include/libio.h | |
| parent | b3f6f5fbb3ef0a0c17ef1cc0baf7a0d19e1059ed (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libg++/include/libio.h')
| -rw-r--r-- | gnu/lib/libg++/include/libio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/libg++/include/libio.h b/gnu/lib/libg++/include/libio.h index a06419722948..8a9c25beee0c 100644 --- a/gnu/lib/libg++/include/libio.h +++ b/gnu/lib/libg++/include/libio.h @@ -73,7 +73,7 @@ typedef _IO_fpos_t _IO_pos_t; #ifndef __STDC__ #define const #endif -#define USE_DTOA +#define _IO_USE_DTOA #if 0 #ifdef _IO_NEED_STDARG_H @@ -236,6 +236,9 @@ extern unsigned __adjust_column __P((unsigned start, const char *line, int count ? __overflow(_fp, (unsigned char)(_ch)) \ : (unsigned char)(*(_fp)->_IO_write_ptr++ = (_ch))) +#define _IO_feof(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0) +#define _IO_ferror(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0) + /* This one is for Emacs. */ #define _IO_PENDING_OUTPUT_COUNT(_fp) \ ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base) |
