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
6 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H
9 #define LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H
11 #include "src/__support/macros/config.h"
13 namespace LIBC_NAMESPACE_DECL
{
16 int fcntl(int fd
, int cmd
, void *arg
= nullptr);
18 } // namespace internal
19 } // namespace LIBC_NAMESPACE_DECL
21 #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_FCNTL_H