Gnulib module: lseek
Portability problems fixed by Gnulib:
off_tis a 32-bit type,
lseekdoes not work correctly with files larger than 2 GB. (Cf.
Portability problems not fixed by Gnulib:
EINVALand return -1, but in this situation a
SIGSYSsignal is raised on some platforms: IRIX 6.5.
lseekfunction fails, POSIX says that the file offset remains unchanged. But on some platforms, attempting to set a negative file offset fails and sets the file offset to 0: BeOS.