diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1999-03-05 12:56:37 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1999-03-05 12:56:37 +0000 |
| commit | b300c1d8f95226b52e42c07aa7e3016effc5bb97 (patch) | |
| tree | 1d29d19a78ed96606b2b81b336c52b8100c7562b /lib/libc | |
| parent | fdc79256c115dbac150e47ef4e49860c9869df74 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdio/fseek.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3 index 064130a0538f..5b1f513356c6 100644 --- a/lib/libc/stdio/fseek.3 +++ b/lib/libc/stdio/fseek.3 @@ -34,8 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)fseek.3 8.1 (Berkeley) 6/4/93 +.\" $Id$ .\" -.Dd June 4, 1993 +.Dd Mar 5, 1999 .Dt FSEEK 3 .Os .Sh NAME @@ -59,6 +60,7 @@ .Fn fgetpos "FILE *stream" "fpos_t *pos" .Ft int .Fn fsetpos "FILE *stream" "const fpos_t *pos" +.Fd #include <sys/types.h> .Ft int .Fn fseeko "FILE *stream" "off_t offset" "int whence" .Ft off_t @@ -115,7 +117,7 @@ The .Fn fseeko function is identical to .Fn fseek , -but take an +except it takes an .Fa off_t argument instead of a @@ -124,7 +126,7 @@ Likewise, the .Fn ftello function is identical to .Fn ftell , -but returns +except it returns an .Fa off_t . .Pp The @@ -163,7 +165,7 @@ and .Fn ftell and .Fn ftello -returns the current offset. +return the current offset. Otherwise, \-1 is returned and the global variable errno is set to indicate the error. .Sh ERRORS |
