summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
committerpeter <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
commit28bb5a5088c3906b40d39854b04a372263d9c703 (patch)
tree2a241f8833c5f7c83035fb019913f6d6518f6866 /include/time.h
parentaa32c9dd60d51c53faa3c7cdeb36aef45b43adec (diff)
downloadFreeBSD-src-28bb5a5088c3906b40d39854b04a372263d9c703.zip
FreeBSD-src-28bb5a5088c3906b40d39854b04a372263d9c703.tar.gz
Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
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 1051f27..5b3bcd3 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 *));
OpenPOWER on IntegriCloud