blob: 27a9949753fe5a34039f9fdb01c94f2490689a6f [file] [edit]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Implementation header for lockf.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_UNISTD_LOCKF_H
#define LLVM_LIBC_SRC_UNISTD_LOCKF_H
#include "hdr/types/off_t.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
int lockf(int fd, int cmd, off_t len);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_UNISTD_LOCKF_H