NAME sem_destroy - destroy an unnamed semaphore LIBRARY POSIX threads library ( libpthread , -lpthread ) SYNOPSIS #include ... sem_destroy(sem_t * sem ); DESCRIPTION sem_destroy ()…semaphore should be destroyed using sem_destroy (3). The remainder of this section describes some ... ALSO sem_close (3), sem_destroy (3), sem_getvalue (3), sem_init (3), sem_opensem_wait (3). SEE ALSO sem_destroy (3), sem_post (3), sem_wait (3), semfollowing functions are present: sem_close () sem_destroy () sem_getvalue () sem_init () sem_open () sem