summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-12 09:57:39 +0000
committerpeter <peter@FreeBSD.org>1997-05-12 09:57:39 +0000
commit892e2dec900e2ce252d6daff0ed8adbcec63d759 (patch)
tree237a2f7565f0099599932435154b132952203900 /include
parent71199e7776cba378a1ad0ff3b174cc3a821fb571 (diff)
downloadFreeBSD-src-892e2dec900e2ce252d6daff0ed8adbcec63d759.zip
FreeBSD-src-892e2dec900e2ce252d6daff0ed8adbcec63d759.tar.gz
prototype clock_settime(), clock_gettime(), clock_getres(), nanosleep().
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index ae11e40..e88d995 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -49,11 +49,17 @@
#endif
__BEGIN_DECLS
+#ifdef __STDC__
+struct timespec; /* nanosleep(2), clock_*(2) etc */
+#endif
void _exit __P((int)) __dead2;
int access __P((const char *, int));
unsigned int alarm __P((unsigned int));
int chdir __P((const char *));
int chown __P((const char *, uid_t, gid_t));
+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 close __P((int));
int dup __P((int));
int dup2 __P((int, int));
@@ -81,6 +87,7 @@ int link __P((const char *, const char *));
#define _LSEEK_DECLARED
off_t lseek __P((int, off_t, int));
#endif
+int nanosleep __P((const struct timespec *, struct timespec *));
long pathconf __P((const char *, int));
int pause __P((void));
int pipe __P((int *));
OpenPOWER on IntegriCloud