Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include add clock_cpugetclockid{2,}
details: https://anonhg.NetBSD.org/src/rev/e59f5c73550f
branches: trunk
changeset: 344842:e59f5c73550f
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 23 23:10:10 2016 +0000
description:
add clock_cpugetclockid{2,}
diffstat:
include/time.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r dc7ddeb976f3 -r e59f5c73550f include/time.h
--- a/include/time.h Sat Apr 23 23:09:27 2016 +0000
+++ b/include/time.h Sat Apr 23 23:10:10 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.45 2015/10/29 17:48:55 christos Exp $ */
+/* $NetBSD: time.h,v 1.46 2016/04/23 23:10:10 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -156,6 +156,12 @@
int timer_settime(timer_t, int, const struct itimerspec * __restrict,
struct itimerspec * __restrict) __RENAME(__timer_settime50);
#endif
+#ifdef _NETBSD_SOURCE
+#include <sys/idtype.h>
+int clock_getcpuclockid2(idtype_t, id_t, clockid_t *);
+#endif
+int clock_getcpuclockid(pid_t, clockid_t *);
+
int timer_create(clockid_t, struct sigevent * __restrict,
timer_t * __restrict);
int timer_delete(timer_t);
Home |
Main Index |
Thread Index |
Old Index