Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

sem_terminate

The sem_terminate function deallocates the semaphore specified by id. You can use this function to deallocate a semaphore that was previously allocated with the function sem_init.

Syntax

#include <base/sem.h>
void sem_terminate(SEMAPHORE id);

Returns

void

Parameters

SEMAPHORE id is the unique identification number of the semaphore.

See Also

sem_grab, sem_init, sem_release