avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / ftell.texi
1 @node ftell
2 @section @code{ftell}
3 @findex ftell
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ftell.html}
6
7 Gnulib module: ftell
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function mistakenly succeeds on pipes on some platforms: mingw.
13 @item
14 This function produces incorrect results after @code{putc} that followed a
15 @code{getc} call that reached EOF on some platforms:
16 Solaris 10.
17 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 This function produces incorrect results immediately after @code{fseek} on some
23 platforms:
24 HP-UX 11.
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 @item
30 On platforms where @code{long} is a 32-bit type, @code{ftell} does not work
31 correctly with files larger than 2 GB.  The fix is to use @code{ftello}
32 instead and to invoke the @code{AC_SYS_LARGEFILE} macro.
33 @end itemize