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

Tsz Chan via libc-commits libc-commits at lists.llvm.org
Wed Apr 9 21:47:10 PDT 2025


================
@@ -4,11 +4,29 @@ standards: Linux
 macros: []
 types:
   - type_name: struct_timeval
+  - type_name: struct_itimerval
 enums: []
-objects: []
 functions:
   - name: utimes
     return_type: int
     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 *
+  
+  - name: getitimer
+    standards:
+      - POSIX
+    return_type: int
+    arguments:
+      - type: int
+      - type: struct itimerval *
+objects: []
----------------
tszhin-swe wrote:

Oops, missed it during conflicts solve, fixed.

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


More information about the libc-commits mailing list