Merge branch 'stable'
[gnulib.git] / doc / posix-functions / fseek.texi
1 @node fseek
2 @section @code{fseek}
3 @findex fseek
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fseek.html}
6
7 Gnulib module: fseek
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function mistakenly succeeds on pipes on some platforms:
13 mingw, MSVC 9.
14 @end itemize
15
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @item
19 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
20 upon failure.
21 @item
22 On platforms where @code{long} is a 32-bit type, @code{fseek} does not work
23 correctly with files larger than 2 GB, even when the @code{AC_SYS_LARGEFILE}
24 macro is used.  The fix is to use @code{fseeko} instead.
25 @end itemize