From ca81ad4e6b755431ebfad40746b2b53d3bb527d3 Mon Sep 17 00:00:00 2001 From: deischen Date: Tue, 3 Feb 2004 10:15:16 +0000 Subject: Add prototype for sem_timedwait(). Reviewed by: standards (Stefan Farfeleder) --- sys/posix4/semaphore.h | 1 + sys/sys/semaphore.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/posix4/semaphore.h b/sys/posix4/semaphore.h index b717b98..f451d5f 100644 --- a/sys/posix4/semaphore.h +++ b/sys/posix4/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 *); diff --git a/sys/sys/semaphore.h b/sys/sys/semaphore.h index b717b98..f451d5f 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 *); -- cgit v1.1