Files
clang-p2996/libc/src/fcntl/creat.h
Siva Chandra Reddy 4abfe47e1f [libc] Add implementations of the POSIX creat and openat functions.
Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D118435
2022-01-28 19:28:12 +00:00

21 lines
594 B
C++

//===-- Implementation header of creat --------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_FCNTL_CREAT_H
#define LLVM_LIBC_SRC_FCNTL_CREAT_H
#include <fcntl.h>
namespace __llvm_libc {
int creat(const char *path, int mode);
} // namespace __llvm_libc
#endif // LLVM_LIBC_SRC_FCNTL_CREAT_H