LLDB  mainline
Fcntl.h
Go to the documentation of this file.
1 //===-- Fcntl.h -------------------------------------------------*- C++ -*-===//
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 // This file defines fcntl functions & structures
10 
11 #ifndef liblldb_Host_posix_Fcntl_h_
12 #define liblldb_Host_posix_Fcntl_h_
13 
14 #ifdef __ANDROID__
15 #include <android/api-level.h>
16 #endif
17 
18 #include <fcntl.h>
19 
20 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21
21 #define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6)
22 #endif
23 
24 #endif // liblldb_Host_posix_Fcntl_h_