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

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Apr 9 06:55:48 PDT 2025


================
@@ -0,0 +1,32 @@
+//===-- Unittests for getitimer -------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
+// Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "hdr/types/struct_itimerval.h"
+#include "src/sys/time/getitimer.h"
+#include "test/UnitTest/ErrnoSetterMatcher.h"
+#include "test/UnitTest/Test.h"
+#include <sys/time.h>
----------------
SchrodingerZhu wrote:

proxy this?

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


More information about the libc-commits mailing list