[libc-commits] [libc] [libc] Add getpid syscall wrapper for Linux (PR #220595)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Wed Sep 2 07:59:34 PDT 2026


kaladron wrote:

Thanks, Tapiwa!  One challenge with this is that it then means that we have two separate implementations of getpid.  I understand why you want this - so that we're not calling through external interfaces, but we should update libc/src/unistd/linux/getpid.cpp to call this wrapper instead of itself making the syscall.


https://github.com/llvm/llvm-project/pull/220595


More information about the libc-commits mailing list