[libc-commits] [PATCH] D118641: [libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jan 31 14:32:49 PST 2022


lntue 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) {
----------------
Shall this one also be guarded like others?


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