.\"
.\" Converted for Linux, Mon Nov 29 15:22:01 1993, faith@cs.unc.edu
.\"
-.TH FSEEK 3 1993-11-29 "GNU" "Linux Programmer's Manual"
+.TH FSEEK 3 2014-05-28 "GNU" "Linux Programmer's Manual"
.SH NAME
fgetpos, fseek, fsetpos, ftell, rewind \- reposition a stream
.SH SYNOPSIS
.BI "int fgetpos(FILE *" stream ", fpos_t *" pos );
.br
-.BI "int fsetpos(FILE *" stream ", fpos_t *" pos );
+.BI "int fsetpos(FILE *" stream ", const fpos_t *" pos );
.SH DESCRIPTION
The
.BR fseek ()
.BR SEEK_END ,
or
.BR SEEK_CUR .
+Or: the resulting file offset would be negative.
.PP
The functions
.BR fgetpos (),
.SH SEE ALSO
.BR lseek (2),
.BR fseeko (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.