summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio64/fseeko64.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
committerEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
commitb4f095585f1e139cba8d2e078c807e384b3e102d (patch)
treee7ee261d556586898030b9ac5252c6a2ab3d5c1d /newlib/libc/stdio64/fseeko64.c
parent2babeb3d94cb8a507ca12b46252995b453600290 (diff)
downloadcygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.gz
cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.bz2
cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.zip
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here. * libc/stdio64/fdopen64.c: Update includes. * libc/stdio64/fopen64.c: Likewise. * libc/stdio64/freopen64.c: Likewise. * libc/stdio64/fseeko64.c: Likewise. * libc/stdio64/ftello64.c: Likewise. * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout, and stderr with 64-bit offset. * libc/stdio/fseek.c (_fseek_r): Avoid compile warning. * libc/stdio/makebuf.c (__smakebuf_r): Likewise. * libc/stdio/mktemp.c (_gettemp): Likewise.
Diffstat (limited to 'newlib/libc/stdio64/fseeko64.c')
-rw-r--r--newlib/libc/stdio64/fseeko64.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c
index 15f285f40..33e22dcc5 100644
--- a/newlib/libc/stdio64/fseeko64.c
+++ b/newlib/libc/stdio64/fseeko64.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1990, 2007 The Regents of the University of California.
+ * Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
@@ -27,7 +27,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdio.h>
int fseeko64(FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>)
- int _fseeko64_r (struct _reent *<[ptr]>, FILE *<[fp]>,
+ int _fseeko64_r (struct _reent *<[ptr]>, FILE *<[fp]>,
_off64_t <[offset]>, int <[whence]>)
TRAD_SYNOPSIS
#include <stdio.h>
@@ -49,8 +49,8 @@ of the file your program has already read. Many of the <<stdio>> functions
depend on this position, and many change it as a side effect.
You can use <<fseeko64>> to set the position for the file identified by
-<[fp]> that was opened via <<fopen64>>. The value of <[offset]> determines
-the new position, in one of three ways selected by the value of <[whence]>
+<[fp]> that was opened via <<fopen64>>. The value of <[offset]> determines
+the new position, in one of three ways selected by the value of <[whence]>
(defined as macros in `<<stdio.h>>'):
<<SEEK_SET>>---<[offset]> is the absolute file position (an offset
@@ -69,7 +69,7 @@ RETURNS
<<fseeko64>> returns <<0>> when successful. On failure, the
result is <<EOF>>. The reason for failure is indicated in <<errno>>:
either <<ESPIPE>> (the stream identified by <[fp]> doesn't support
-repositioning or wasn't opened via <<fopen64>>) or <<EINVAL>>
+repositioning or wasn't opened via <<fopen64>>) or <<EINVAL>>
(invalid file position).
PORTABILITY
@@ -86,7 +86,7 @@ Supporting OS subroutines required: <<close>>, <<fstat64>>, <<isatty>>,
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "local64.h"
+#include "local.h"
#define POS_ERR (-(_fpos64_t)1)