poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / ftello.texi
blob2561c5d65e83420da47f0a763a7f603edbbc6d13
1 @node ftello
2 @section @code{ftello}
3 @findex ftello
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftello.html}
7 Gnulib module: ftello
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw, MSVC 14.
14 @item
15 The declaration of @code{ftello} in @code{<stdio.h>} is not enabled by default
16 on some platforms:
17 glibc 2.3.6.
18 @item
19 This function produces incorrect results after @code{putc} that followed a
20 @code{getc} call that reached EOF on some platforms:
21 Solaris 11 2010-11.
22 @item
23 This function fails on seekable stdin, stdout, and stderr: cygwin <= 1.5.24.
24 @item
25 On platforms where @code{off_t} is a 32-bit type, @code{ftello} does not work
26 correctly with files larger than 2 GB@.  (Cf. @code{AC_SYS_LARGEFILE}.)
27 @end itemize
29 Portability problems not fixed by Gnulib:
30 @itemize
31 @item
32 This function produces incorrect results immediately after @code{fseek} on some
33 platforms:
34 HP-UX 11.
35 @item
36 @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly
37 on input streams that are opened in @code{O_TEXT} mode and whose contents
38 contains Unix line terminators (LF), on some platforms: mingw, MSVC 14.
39 @end itemize