diff options
author | ache <ache@FreeBSD.org> | 2001-09-01 01:56:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-09-01 01:56:54 +0000 |
commit | 5610a6ae63a163468769d8b1400a386115b53ddf (patch) | |
tree | 7df1c1e8cadd1748528a154d73547f9a81702dae /lib/libc/stdio/local.h | |
parent | 8f95e37de3db8c34682949479172b82e88dbacc5 (diff) | |
download | FreeBSD-src-5610a6ae63a163468769d8b1400a386115b53ddf.zip FreeBSD-src-5610a6ae63a163468769d8b1400a386115b53ddf.tar.gz |
Back out disabling ungetc() at 0, use different solution:
keep negative offset internally, but return 0 externally in ftell*()
I.e. use 0 now as 'unspecified value' per POSIX ungetc() description.
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r-- | lib/libc/stdio/local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h index 00ec2d8..d37a540 100644 --- a/lib/libc/stdio/local.h +++ b/lib/libc/stdio/local.h @@ -46,8 +46,8 @@ * in particular, macros and private variables. */ -extern off_t _ftello __P((FILE *)); -extern int _fseeko __P((FILE *, off_t, int, int)); +extern int _ftello __P((FILE *, fpos_t *)); +extern int _fseeko __P((FILE *, off_t, int, int)); extern int __fflush __P((FILE *fp)); extern int __sflush __P((FILE *)); extern FILE *__sfp __P((void)); |