llvm-capstone/libc/include/fcntl.h.def
Siva Chandra Reddy dc2b01b3f7 [libc] Add POSIX close, fsync, open, read and write functions.
They are implemented as simple syscall wrappers. The file creation
macros have been put in a header file as a temporary solution until we
have a cleaner approach to listing platform relevant macros.

Reviewed By: abrachet

Differential Revision: https://reviews.llvm.org/D118396
2022-01-27 20:32:02 +00:00

18 lines
544 B
Modula-2

//===-- C standard library header fcntl.h ---------------------------------===//
//
// 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_FCNTL_H
#define LLVM_LIBC_FCNTL_H
#include <__llvm-libc-common.h>
#include <llvm-libc-macros/fcntl-macros.h>
%%public_api()
#endif // LLVM_LIBC_FCNTL_H