diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-11-21 03:01:04 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-11-21 03:01:04 +0000 |
commit | 00d6c67bd529a941c81c8778ba88bbd7fc3ede40 (patch) | |
tree | 081a81cae5752453e5144ab122c2b7320d6deef1 /sys | |
parent | 72cbb028e5b67b947893b445ff4c184fb88f0313 (diff) |
prototype clock_{gettime,settime,getres}
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/time.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h index d2a4548639c..216a0533ca6 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -1,4 +1,4 @@ -/* $OpenBSD: time.h,v 1.7 1998/02/08 22:41:47 tholo Exp $ */ +/* $OpenBSD: time.h,v 1.8 1998/11/21 03:01:03 d Exp $ */ /* $NetBSD: time.h,v 1.18 1996/04/23 10:29:33 mycroft Exp $ */ /* @@ -174,6 +174,9 @@ void microtime __P((struct timeval *tv)); __BEGIN_DECLS int adjtime __P((const struct timeval *, struct timeval *)); +int clock_getres __P((clockid_t, struct timespec *)); +int clock_gettime __P((clockid_t, struct timespec *)); +int clock_settime __P((clockid_t, const struct timespec *)); int futimes __P((int, const struct timeval *)); int getitimer __P((int, struct itimerval *)); int gettimeofday __P((struct timeval *, struct timezone *)); |