[libc-commits] [libc] [libc][unistd] Implement setsid (PR #125704)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Feb 4 09:00:51 PST 2025


================
@@ -459,6 +459,20 @@ add_entrypoint_object(
     libc.src.errno.errno
 )
 
+add_entrypoint_object(
+  setsid
+  SRCS
+    setsid.cpp
+  HDRS
+    ../setsid.h
+  DEPENDS
+    libc.hdr.types.pid_t
+    libc.hdr.fcntl_macros
+    libc.include.unistd
----------------
nickdesaulniers wrote:

False dependency. Remove.

```suggestion
```

(Looks like this false dependency exists throughout this cmake...argh, that should get cleaned up separately).

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


More information about the libc-commits mailing list