[libc-commits] [libc] [libc][getcwd] Refactor getcwd to use the syscall wrapper pattern (PR #204000)
Jackson Stogel via libc-commits
libc-commits at lists.llvm.org
Mon Jun 15 23:02:35 PDT 2026
================
@@ -8,58 +8,56 @@
#include "src/unistd/getcwd.h"
+#include "hdr/types/size_t.h"
+#include "hdr/types/ssize_t.h"
+#include "src/__support/CPP/optional.h"
+#include "src/__support/OSUtil/linux/syscall_wrappers/getcwd.h"
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
----------------
jtstogel wrote:
Thanks
https://github.com/llvm/llvm-project/pull/204000
More information about the libc-commits
mailing list