diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-05-12 09:57:39 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-05-12 09:57:39 +0000 |
| commit | 5add7c72fa09ed25c4e81b7c3372df137fdb528e (patch) | |
| tree | 875151a88f03f24543a040a5904e82b7045c41e3 | |
| parent | 3672faea8dc5781bb5aa98f0575d4f0b536a30d0 (diff) | |
Notes
| -rw-r--r-- | include/unistd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index ae11e40e9173..e88d9959cfa8 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 *)); |
