[libc-commits] [libc] [libc] Implement clock_getres in time (PR #230826)
Aman Maurya via libc-commits
libc-commits at lists.llvm.org
Sat Oct 10 12:10:33 PDT 2026
================
@@ -1,11 +1,12 @@
-//===-- Unittests for clock_getres- ---------------------------------------===//
+//===-- Unittests for clock_getres ----------------------------------------===//
//
// 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/errno_macros.h"
----------------
amanmaurya92 wrote:
The header `#include "hdr/errno_macros.h"` was added because EINVAL is used in `TEST(LlvmLibcClockGetRes, Invalid)` (line 20).
https://github.com/llvm/llvm-project/pull/230826
More information about the libc-commits
mailing list