Multithreaded Programming Guide

sema_destroy(3C) Syntax

#include <thread.h>

int sema_destroy(sema_t *sp);