SSiva Chandra Reddy[libc] Add dirent.h functions opendir, readdir, closedir and dirfd.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Add implementation of POSIX lseek function. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D121676 | 4 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D118641 | 4 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc] Make the errno macro resolve to the thread local variable directly. With modern architectures having a thread pointer and language supporting thread locals, there is no reason to use a function intermediary to access the thread local errno value. The entrypoint corresponding to errno has been replaced with an object library as there is no formal entrypoint for errno anymore. Reviewed By: jeffbailey, michaelrj Differential Revision: https://reviews.llvm.org/D120920 | 4 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[libc] Add scaffolding for ctype and implementation of isalpha Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D84575 | 5 年前 | |
[libc] Add dirent.h functions opendir, readdir, closedir and dirfd. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130459 | 3 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[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 | 4 年前 | |
[libc] Add simple x86_64 floating point exception and rounding mode support. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D92546 | 5 年前 | |
[libc] add inttypes header Add inttypes.h to llvm libc. As its first functions strtoimax and strtoumax are included. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D108736 | 4 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[libc] Add a definition of pthread_attr_t and its getters and setters. Not all attributes have been added to phtread_attr_t in this patch. They will be added gradually in future patches. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123423 | 4 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[libc] Add implementation of POSIX lseek function. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D121676 | 4 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[libc][NFC] Make all top of file comments consistent. Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533 | 6 年前 | |
[libc] Move the remaining public types to their own type headers. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D117838 | 4 年前 | |
Initial commit of mktime. This introduces mktime to LLVM libc, based on C99/C2X/Single Unix Spec. Co-authored-by: Jeff Bailey <jeffbailey@google.com> This change doesn't handle TIMEZONE, tm_isdst and leap seconds. It returns -1 for invalid dates. I have verified the return results for all the possible dates with glibc's mktime. TODO: + Handle leap seconds. + Handle out of range time and date values that don't overflow or underflow. + Implement the following suggestion Siva - As we start accumulating the seconds, we should be able to check if the next amount of seconds to be added can lead to an overflow. If it does, return the overflow value. If not keep accumulating. The benefit is that, we don't have to validate every input, and also do not need the special cases for sizeof(time_t) == 4. + Handle timezone and update of tm_isdst Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D91551 | 5 年前 | |
[libc] Add implementation of POSIX lseek function. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D121676 | 4 年前 |