fseek.3: Document EINVAL error for negative file offset

Reported-by: Petr Gajdos <pgajdos@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-02 09:45:02 +02:00
parent 8bad22e53b
commit f3ef455821
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@
.\" .\"
.\" Converted for Linux, Mon Nov 29 15:22:01 1993, faith@cs.unc.edu .\" 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-04-02 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
fgetpos, fseek, fsetpos, ftell, rewind \- reposition a stream fgetpos, fseek, fsetpos, ftell, rewind \- reposition a stream
.SH SYNOPSIS .SH SYNOPSIS
@ -150,6 +150,7 @@ was not
.BR SEEK_END , .BR SEEK_END ,
or or
.BR SEEK_CUR . .BR SEEK_CUR .
Or: the resulting file offset would be negative.
.PP .PP
The functions The functions
.BR fgetpos (), .BR fgetpos (),