From 662058799b21ce818ad555662363e79edaae5319 Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 21 Feb 2000 22:11:20 +0000 Subject: [PATCH] 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. --- src/include/stdio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/stdio.h b/src/include/stdio.h index 50e0987e..a423df04 100644 --- a/src/include/stdio.h +++ b/src/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));