HomeSort by: relevance | last modified time | path
    Searched refs:timespec_get (Results 1 - 4 of 4) sorted by relevancy

  /src/tests/lib/libc/gen/
t_timespec_get.c 61 ATF_TC(timespec_get);
62 ATF_TC_HEAD(timespec_get, tc)
64 atf_tc_set_md_var(tc, "descr", "Basic tests for timespec_get");
67 ATF_TC_BODY(timespec_get, tc)
71 ATF_REQUIRE_EQ(timespec_get(&ts, TIME_UTC), TIME_UTC);
86 ATF_REQUIRE_EQ(timespec_get(&ts, INT_MAX), 0);
99 ATF_REQUIRE_EQ(timespec_get(&ts, TIME_MONOTONIC), TIME_MONOTONIC);
111 ATF_REQUIRE_EQ(timespec_get(&ts2, TIME_MONOTONIC), TIME_MONOTONIC);
118 ATF_TP_ADD_TC(tp, timespec_get);
  /src/lib/libc/gen/
timespec_get.c 1 /* $NetBSD: timespec_get.c,v 1.3 2025/04/21 08:57:32 nia Exp $ */
34 __RCSID("$NetBSD: timespec_get.c,v 1.3 2025/04/21 08:57:32 nia Exp $");
40 /* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
43 timespec_get(struct timespec *ts, int base) function in typeref:typename:int
Makefile.inc 35 sysctlnametomib.c syslog.c syslog_ss.c telldir.c time.c timespec_get.c \
89 time.3 timespec_get.3 times.3 timezone.3 toascii.3 \
201 MLINKS+=timespec_get.3 timespec_getres.3
  /src/include/
time.h 248 /* ISO/IEC 9899:2011 7.27.2.5 The timespec_get function */
259 int timespec_get(struct timespec *ts, int base);

Completed in 14 milliseconds