sem_open, sem_close, sem_unlink - named semaphore operations
#include <semaphore.h>
sem_t *
sem_open(const char *name, int oflag, ...);
int
sem_close(sem_t *sem);
int
sem_unlink(const char *name);
The sem_open(), sem_close(), and sem_unlink() functions are
not supported
by this implementation.
sem_open() returns SEM_FAILED and sets errno to indicate an
error.
sem_close() and sem_unlink() return -1 and set errno to indicate an error.
sem_open(), sem_close(), and sem_unlink() will fail:
[ENOSYS] Function not supported by this implementation.
sem_open(), sem_close(), and sem_unlink() conform to ISO/IEC
9945-1:1996
(``POSIX'').
OpenBSD 3.6 February 15, 2000
[ Back ] |