Displaying 1 result from an estimated 1 matches for "__arch_flock64_pad".
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
...= long long). We want struct flock
+ * to have 64-bit offsets, so we define it here.
+ */
- This happens to work on all 32-bit architectures except MIPS. */
+struct flock {
+ short l_type;
+ short l_whence;
+ __kernel_loff_t l_start;
+ __kernel_loff_t l_len;
+ __kernel_pid_t l_pid;
+ __ARCH_FLOCK64_PAD
+};
#ifdef F_GETLK64
# undef F_GETLK