aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/semaphore.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2004-02-03 10:15:16 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2004-02-03 10:15:16 +0000
commit4e4710b784cea9ff9c8cb129713230bb48d43b4c (patch)
treec7f687b00bd0c54c13f63b28d078af993cabd646 /sys/sys/semaphore.h
parent37e419a131ffd6c3be2f4325f08ec7bcb4fc9e46 (diff)
downloadsrc-4e4710b784cea9ff9c8cb129713230bb48d43b4c.tar.gz
src-4e4710b784cea9ff9c8cb129713230bb48d43b4c.zip
Add prototype for sem_timedwait().
Reviewed by: standards (Stefan Farfeleder)
Notes
Notes: svn path=/head/; revision=125383
Diffstat (limited to 'sys/sys/semaphore.h')
-rw-r--r--sys/sys/semaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/semaphore.h b/sys/sys/semaphore.h
index b717b98c8c96..f451d5f6dc71 100644
--- a/sys/sys/semaphore.h
+++ b/sys/sys/semaphore.h
@@ -54,6 +54,7 @@ int sem_getvalue(sem_t * __restrict, int * __restrict);
int sem_init(sem_t *, int, unsigned int);
sem_t *sem_open(const char *, int, ...);
int sem_post(sem_t *);
+int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
int sem_trywait(sem_t *);
int sem_unlink(const char *);
int sem_wait(sem_t *);