Browse Source

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.
OPENBSD_2_7
millert 25 years ago
parent
commit
662058799b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/stdio.h

+ 3
- 1
src/include/stdio.h View File

@ -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));


Loading…
Cancel
Save