[libc-commits] [libc] [libc] Implement getitimer and setitimer, add proxy headers for itimerval (PR #134773)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Apr 10 15:08:56 PDT 2025


================
@@ -12,3 +13,20 @@ functions:
     arguments:
       - type: const char*
       - type: const struct timeval*
+
+  - name: setitimer
+    standards:
+      - POSIX
+    return_type: int
+    arguments:
+      - type: int
+      - type: const struct itimerval *
+      - type: struct itimerval *
----------------
michaelrj-google wrote:

These should be restrict
```suggestion
      - type: const struct itimerval *__restrict
      - type: struct itimerval *__restrict
```

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


More information about the libc-commits mailing list