sem_trylock(3X) — MISCELLANEOUS LIBRARY FUNCTIONS
NAME
sem_trylock − attempt to lock a semaphore
SYNOPSIS
#include <semaphore.h>
int sem_trylock(sem_t ∗sem)
DESCRIPTION
The function sem_trylock is not implemented in this release.
RETURN VALUE
The function sem_trylock returns a value of -1 and sets errno to indicate an error.
ERRORS
The function sem_trylock fails and sets errno to:
ENOSYS
This function is not supported by this implementation.
SEE ALSO
IEEE POSIX P1003.4 specification.
— POSIX 1003.4 Extensions