summaryrefslogtreecommitdiffstats
path: root/include/stdio.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-02-21 22:11:20 +0000
committermillert <millert@openbsd.org>2000-02-21 22:11:20 +0000
commit8b74247033dee8049b4768e6075fe0d3342fcf4e (patch)
tree2eeb686ff96c918e906923e39ba604eee570287c /include/stdio.h
parentPKCS#1 padding (diff)
downloadwireguard-openbsd-8b74247033dee8049b4768e6075fe0d3342fcf4e.tar.xz
wireguard-openbsd-8b74247033dee8049b4768e6075fe0d3342fcf4e.zip
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.h4
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));