[libc-commits] [libc] [libc] Implement sleep and usleep for Linux (PR #213912)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Aug 6 00:13:47 PDT 2026


================
@@ -411,12 +411,14 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.unistd.readlinkat
     libc.src.unistd.rmdir
     libc.src.unistd.setsid
+    libc.src.unistd.sleep
----------------
labath wrote:

On second thought, the entire unistd.h is not enabled on arm. I'll create a separate patch for that. I suspect we can enable everything there.

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


More information about the libc-commits mailing list