diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-02-21 22:11:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-02-21 22:11:23 +0000 |
commit | c73a0ad4b650731afc9ff73ce3efa6a20bc12d0a (patch) | |
tree | cb01bc14f869b62fbde1335281f99360545f3170 /include/stdio.h | |
parent | c08bffdba7eb5dccf57b3c21bb64592637f27391 (diff) |
Add fseeko() and ftello() -- versions of fseek() and ftell() that use off_t.
Also make fsetpos() and fgetpos() use fseeko() and ftello() respectively
since fpos_t is actually a 64bit type.
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 50e0987e381..a423df04159 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdio.h,v 1.11 1999/09/17 13:13:46 espie Exp $ */ +/* $OpenBSD: stdio.h,v 1.12 2000/02/21 22:11:20 millert Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /*- @@ -233,8 +233,10 @@ size_t fread __P((void *, size_t, size_t, FILE *)); FILE *freopen __P((const char *, const char *, FILE *)); int fscanf __P((FILE *, const char *, ...)); int fseek __P((FILE *, long, int)); +int fseeko __P((FILE *, off_t, int)); int fsetpos __P((FILE *, const fpos_t *)); long ftell __P((FILE *)); +off_t ftello __P((FILE *)); size_t fwrite __P((const void *, size_t, size_t, FILE *)); int getc __P((FILE *)); int getchar __P((void)); |