This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Question about sysdeps/unix/sysv/linux/fcntl.c
- From: "Hongzhi, Song" <hongzhi dot song at windriver dot com>
- To: <libc-help at sourceware dot org>
- Date: Thu, 13 Sep 2018 21:57:00 +0800
- Subject: Question about sysdeps/unix/sysv/linux/fcntl.c
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