This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Question about fcntl64
- From: Florian Weimer <fweimer at redhat dot com>
- To: "Hongzhi, Song" <hongzhi dot song at windriver dot com>, libc-help at sourceware dot org
- Date: Wed, 12 Sep 2018 19:32:40 +0200
- Subject: Re: Question about fcntl64
- References: <e408aa1b-0c74-6b32-5395-98a3828ab51d@windriver.com>
On 09/12/2018 04:23 PM, Hongzhi, Song wrote:
Testcase source code: ltp/testcases/kernel/syscalls/fcntl/fcntl34.c
In function 'thread_fn_01', struct flock64 lck.l_len is set '1'.
thread_fn_01 ---> SAFE_FCNTL(fd, F_OFD_SETLKW, &lck) ---> fcntl64
Please quote the relevant parts of the source code. What is SAFE_FNCTL?
Thanks,
Florian