af16b3dee8aeada04427ce2a5ecad66f08da6f70
[gnulib.git] / doc / functions / ftello.texi
1 @node ftello
2 @section @code{ftello}
3 @findex ftello
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/ftello.html}
6
7 Gnulib module: ftello
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 OSF/1 4.0, Solaris 2.5.1, mingw.
14 @item
15 The declaration of @code{ftello} in @code{<stdio.h>} is not enabled by default
16 on some platforms: glibc 2.3.6.
17 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 On platforms where @code{off_t} is a 32-bit type, @code{ftello} does not work
23 correctly with files larger than 2 GB.  The fix is to use the
24 @code{AC_SYS_LARGEFILE} macro.
25 @item
26 @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly
27 on input streams that are opened in @code{O_TEXT} mode and whose contents
28 contains Unix line terminators (LF), on some platforms: mingw.
29 @end itemize