This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about fcntl64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]