aboutsummaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
commit2c97335b81e09f69f90a6f55913d7f2a1e7e1ab1 (patch)
tree874e8724f03ce9a9fac0cf321e710b62109731b5 /include/time.h
parentfff65794d90dc137033c7a1c1c510b8ea90589c1 (diff)
downloadsrc-2c97335b81e09f69f90a6f55913d7f2a1e7e1ab1.tar.gz
src-2c97335b81e09f69f90a6f55913d7f2a1e7e1ab1.zip
Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
Notes
Notes: svn path=/head/; revision=25749
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 1051f271e57e..5b3bcd3849e4 100644
--- a/include/time.h
+++ b/include/time.h
@@ -92,11 +92,15 @@ struct tm {
__BEGIN_DECLS
char *asctime __P((const struct tm *));
clock_t clock __P((void));
+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 *));
char *ctime __P((const time_t *));
double difftime __P((time_t, time_t));
struct tm *gmtime __P((const time_t *));
struct tm *localtime __P((const time_t *));
time_t mktime __P((struct tm *));
+int nanosleep __P((const struct timespec *, struct timespec *));
size_t strftime __P((char *, size_t, const char *, const struct tm *));
time_t time __P((time_t *));