[libc-commits] [PATCH] D118641: [libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Jan 31 14:46:45 PST 2022
sivachandra added inline comments.
================
Comment at: libc/src/sys/stat/linux/mkdirat.cpp:21
+LLVM_LIBC_FUNCTION(int, mkdirat, (int dfd, const char *path, mode_t mode)) {
+ long ret = __llvm_libc::syscall(SYS_mkdirat, dfd, path, mode);
+ if (ret < 0) {
----------------
lntue wrote:
> Shall this one also be guarded like others?
Thanks for catching. Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118641/new/
https://reviews.llvm.org/D118641
More information about the libc-commits
mailing list