xref: /aosp_15_r20/external/llvm-libc/src/__support/OSUtil/fcntl.h (revision 71db0c75aadcf003ffe3238005f61d7618a3fead)
1 //===-- Implementation header of internal fcntl function ------------------===//
2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3 // See https://llvm.org/LICENSE.txt for license information.
4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 //
6 //===----------------------------------------------------------------------===//
7 
8 #ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H
9 #define LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H
10 
11 #include "src/__support/macros/config.h"
12 
13 namespace LIBC_NAMESPACE_DECL {
14 namespace internal {
15 
16 int fcntl(int fd, int cmd, void *arg = nullptr);
17 
18 } // namespace internal
19 } // namespace LIBC_NAMESPACE_DECL
20 
21 #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H
22