ftell, Up: ISO C and POSIX Function Substitutes [Contents][Index]
Gnulib module: ftello
Portability problems fixed by Gnulib:
<stdio.h>is not enabled by default on some platforms: glibc 2.3.6.
putcthat followed a
getccall that reached EOF on some platforms: Solaris 11 2010-11.
ungetc, throws away the
ungetcbuffer, changes the stream’s file position, and returns the wrong position on some platforms: macOS 10.15 and newer.
off_tis a 32-bit type,
ftellodoes not work correctly with files 2 GiB and larger. See Large File Support.
Portability problems not fixed by Gnulib:
fseekon some platforms: HP-UX 11.
fgetposbehave incorrectly on input streams that are opened in
O_TEXTmode and whose contents contains Unix line terminators (LF), on some platforms: mingw, MSVC 14.