2 @section @code{fgetpos}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fgetpos.html}
9 Portability problems fixed by Gnulib:
13 Portability problems not fixed by Gnulib:
16 @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly
17 on input streams that are opened in @code{O_TEXT} mode and whose contents
18 contains Unix line terminators (LF), on some platforms: mingw, MSVC 9.
20 On platforms where @code{off_t} is a 32-bit type, this function may not
21 work correctly on files larger than 2 GB. The fix is to use the
22 @code{AC_SYS_LARGEFILE} macro.
24 On platforms where @code{off_t} is a 64-bit type, but @code{fseeko} is
25 not present, stream operations on files larger than 2 GB silently do
26 the wrong thing. This affects BSD/OS, which is mostly obsolete.