summaryrefslogtreecommitdiff
path: root/gnu/egcs/libio/libio.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
commitfbbd8adf8ad208245f18c2e4a068810b9c401242 (patch)
tree13008452e954d3f8bced87002eda49ce086db406 /gnu/egcs/libio/libio.h
parent82acc2c5e72b389f6c60f8d6f0652eb24d8bb831 (diff)
2.95.3, test release 2
Diffstat (limited to 'gnu/egcs/libio/libio.h')
-rw-r--r--gnu/egcs/libio/libio.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/egcs/libio/libio.h b/gnu/egcs/libio/libio.h
index b152874d1f6..c453b77bf30 100644
--- a/gnu/egcs/libio/libio.h
+++ b/gnu/egcs/libio/libio.h
@@ -136,6 +136,7 @@
#define _IO_IS_APPENDING 0x1000
#define _IO_IS_FILEBUF 0x2000
#define _IO_BAD_SEEN 0x4000
+#define _IO_USER_LOCK 0x8000
/* These are "formatting flags" matching the iostream fmtflags enum values. */
#define _IO_SKIPWS 01
@@ -277,7 +278,7 @@ typedef struct
{
_IO_ssize_t (*read) __PMT ((struct _IO_FILE *, void *, _IO_ssize_t));
_IO_ssize_t (*write) __PMT ((struct _IO_FILE *, const void *, _IO_ssize_t));
- _IO_fpos_t (*seek) __PMT ((struct _IO_FILE *, _IO_off_t, int));
+ _IO_off_t (*seek) __PMT ((struct _IO_FILE *, _IO_off_t, int));
int (*close) __PMT ((struct _IO_FILE *));
} _IO_cookie_io_functions_t;
@@ -348,11 +349,11 @@ extern _IO_ssize_t _IO_padn __P ((_IO_FILE *, int, _IO_ssize_t));
extern _IO_size_t _IO_sgetn __P ((_IO_FILE *, void *, _IO_size_t));
#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
-extern _IO_fpos64_t _IO_seekoff __P ((_IO_FILE *, _IO_off64_t, int, int));
-extern _IO_fpos64_t _IO_seekpos __P ((_IO_FILE *, _IO_fpos64_t, int));
+extern _IO_off64_t _IO_seekoff __P ((_IO_FILE *, _IO_off64_t, int, int));
+extern _IO_off64_t _IO_seekpos __P ((_IO_FILE *, _IO_off64_t, int));
#else
-extern _IO_fpos_t _IO_seekoff __P ((_IO_FILE *, _IO_off_t, int, int));
-extern _IO_fpos_t _IO_seekpos __P ((_IO_FILE *, _IO_fpos_t, int));
+extern _IO_off_t _IO_seekoff __P ((_IO_FILE *, _IO_off_t, int, int));
+extern _IO_off_t _IO_seekpos __P ((_IO_FILE *, _IO_off_t, int));
#endif
extern void _IO_free_backup_area __P ((_IO_FILE *));