Next: fseeko
, Previous: fscanf
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
fseek
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fseek.html
Gnulib module: fseek
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
errno
upon failure.
long
is a 32-bit type, fseek
does not work
correctly with files 2 GiB and larger, even when the AC_SYS_LARGEFILE
macro is used. The fix is to use fseeko
instead.