Siva Chandra Reddy
827575a7f8
[libc] Add implementation of POSIX lseek function.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D121676
2022-03-15 16:24:48 +00:00
Siva Chandra Reddy
4ef02da094
[libc] Add a platform independent buffered file IO data structure.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D119458
2022-02-15 05:34:29 +00:00
Siva Chandra Reddy
4c1b44160a
[libc] Adjust few fcntl macros for aarch64.
2022-02-01 08:14:32 +00:00
Siva Chandra Reddy
b8385162c2
[libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat.
...
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D118641
2022-02-01 05:17:10 +00:00
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
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