Will SEEK_SET SEEK_CUR SEEK_END not be 0,1,2 on any C lib?
For whence
parameter of fseek
(or lseek
in POSIX), some languages that calls C lib assume SEEK_SET, SEEK_CUR SEEK_END is 0,1,2, respectively, such as gfortran, Nim [^py].
Will SEEK_SET SEEK_CUR SEEK_END aren’t 0,1,2 on any C lib?
For whence
parameter of fseek
(or lseek
in POSIX), some languages that calls C lib assume SEEK_SET, SEEK_CUR SEEK_END is 0,1,2, respectively, such as gfortran, Nim [^py].