[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
Loading
Please register or sign in to comment