[libc-commits] [libc] [libc] Implement system function (PR #211672)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Fri Aug 7 02:43:07 PDT 2026


================
@@ -65,3 +65,31 @@ add_entrypoint_object(
     libc.src.__support.macros.null_check
     libc.src.stdlib.environ_internal
 )
+
+add_entrypoint_object(
+  system
+  SRCS
+    system.cpp
+  HDRS
+    ../system.h
+  DEPENDS
+    libc.hdr.errno_macros
+    libc.hdr.signal_macros
+    libc.hdr.types.pid_t
+    libc.hdr.types.sigset_t
+    libc.src.__support.common
+    libc.src.__support.libc_errno
+    libc.src.__support.macros.config
+    libc.src.__support.OSUtil.osutil
----------------
kaladron wrote:

Eh, sorry.  Just habit from header checking =)

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


More information about the libc-commits mailing list