[libc-commits] [libc] [libc][getcwd] Refactor getcwd to use the syscall wrapper pattern (PR #204000)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Mon Jun 15 21:57:27 PDT 2026
================
@@ -223,9 +223,11 @@ add_entrypoint_object(
../getcwd.h
DEPENDS
libc.hdr.types.size_t
- libc.hdr.fcntl_macros
- libc.include.unistd
+ libc.hdr.types.ssize_t
libc.include.sys_syscall
+ libc.include.unistd
----------------
vonosmas wrote:
No dependency on public unistd header needed, please revisit other deps as well
https://github.com/llvm/llvm-project/pull/204000
More information about the libc-commits
mailing list