Question about sysdeps/unix/sysv/linux/fcntl.c

Hongzhi, Song hongzhi.song@windriver.com
Thu Sep 13 13:54:00 GMT 2018


Hi all,

I have a issue on ltp relevant glibc.

https://github.com/linux-test-project/ltp/issues/395


Could someone tell how to fix it?



I also want to know that under what circumstances should we use fcntl 
and fcntl64.


Under what circumstances are the __OFF_T_MATCHES_OFF64_T and 
_FILE_OFFSET_BITS defined?


Why does 32-bit arch calls fcntl64, but 64-bit arch calls fcntl traced 
by strace tool?


Thanks,

Hongzhi



More information about the Libc-help mailing list