[tlbuild] dvi test?
Bruno Haible
bruno at clisp.org
Wed Feb 2 03:11:08 CET 2022
John Hawkinson wrote:
> It seems to me that fseek()'s implementation calls lseek() with the same whence=SEEK_SET when fseek() is called with seek_set(), at least per the below code. Or maybe I missed something in it. Where does it convert to SEEK_CUR with a negative offset?
In FreeBSD, it's at line 144 of [1]. In macOS, it's surely similar.
The stdio implementations of all BSDs are very similar.
Bruno
[1] https://cgit.freebsd.org/src/tree/lib/libc/stdio/fseek.c
More information about the tlbuild
mailing list.