OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / fseek.3
index 87de4c1..60cef45 100644 (file)
@@ -39,7 +39,7 @@
 .\"
 .\" 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
@@ -53,7 +53,7 @@ fgetpos, fseek, fsetpos, ftell, rewind \- reposition a stream
 
 .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 ()
@@ -150,6 +150,7 @@ was not
 .BR SEEK_END ,
 or
 .BR SEEK_CUR .
+Or: the resulting file offset would be negative.
 .PP
 The functions
 .BR fgetpos (),
@@ -170,3 +171,12 @@ C89, C99.
 .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/.