1 //===-- Definition of type struct flock64 ---------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIBC_TYPES_STRUCT_FLOCK_H 10 #define LLVM_LIBC_TYPES_STRUCT_FLOCK_H 11 12 #include "off_t.h" 13 #include "pid_t.h" 14 15 #include <stdint.h> 16 17 struct flock { 18 int16_t l_type; 19 int16_t l_whence; 20 off_t l_start; 21 off_t l_len; 22 pid_t l_pid; 23 }; 24 25 #endif // LLVM_LIBC_TYPES_STRUCT_FLOCK_H 26