[libc-commits] [libc] [libc] implement getloadavg (PR #221049)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Thu Sep 3 14:57:28 PDT 2026


================
@@ -116,6 +116,13 @@ functions:
     return_type: char *
     arguments:
       - type: const char *
+  - name: getloadavg
+    standards:
+      - bsd
+    return_type: int
+    arguments:
+      - type: double *
----------------
vonosmas wrote:

I wonder if you can specify `double[]` now to match the spec more precisely.

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


More information about the libc-commits mailing list