Siva Chandra Reddy
e310f8bddf
[libc] Add implementation of functions stat, fstat and lstat.
...
All supporting type and macro definitions have also been added.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D134262
2022-09-21 18:35:02 +00:00
Siva Chandra Reddy
8989aa003f
[libc] Add POSIX functions dup, dup2, and GNU extension function dup3.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D133748
2022-09-13 18:06:30 +00:00
Siva Chandra Reddy
055322891c
[libc] Add Linux implementations of POSIX chdir, fchdir, chmod and fchmod.
...
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D132445
2022-08-23 17:16:49 +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