X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Ffunctions%2Ffseek.texi;h=47c6606c5fbc2658b7e6eddff30dbbc585445c61;hb=d0ed9df4b170fc03d349eb1e856265b2c3c16706;hp=b66055db614d82fb03c7dc9739f9b6bbd81088de;hpb=e461ff7387db733080824cb94b239d8d1d09c4f3;p=gnulib.git diff --git a/doc/functions/fseek.texi b/doc/functions/fseek.texi index b66055db6..47c6606c5 100644 --- a/doc/functions/fseek.texi +++ b/doc/functions/fseek.texi @@ -4,12 +4,12 @@ POSIX specification: @url{http://www.opengroup.org/susv3xsh/fseek.html} -Gnulib module: fseeko +Gnulib module: fseek Portability problems fixed by Gnulib: @itemize @item -This function mistakenly succeeds on non-seekable files: mingw. +This function mistakenly succeeds on pipes on some platforms: mingw. @end itemize Portability problems not fixed by Gnulib: @@ -18,6 +18,7 @@ Portability problems not fixed by Gnulib: On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. @item -On platforms where @code{off_t} is a 32-bit type, @code{fseek} does not work -correctly with files larger than 2 GB. The fix is to use fseeko instead. +On platforms where @code{long} is a 32-bit type, @code{fseek} does not work +correctly with files larger than 2 GB. The fix is to use @code{fseeko} +instead and to invoke the @code{AC_SYS_LARGEFILE} macro. @end itemize