llvm/libc/include/llvm-libc-macros/fcntl-macros.h
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

9 lines
185 B
C

#ifndef __LLVM_LIBC_MACROS_FCNTL_MACROS_H
#define __LLVM_LIBC_MACROS_FCNTL_MACROS_H
#ifdef __unix__
#include "linux/fcntl-macros.h"
#endif
#endif // __LLVM_LIBC_MACROS_FCNTL_MACROS_H