freesema(D3X)
freesema - free the resources associated with a semaphore
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME freesema - free the resources associated with a semaphore SYNOPSIS #include "sys/types.h" #include "sys/sema.h" freesema(sema_t *semap); DESCRIPTION freesema frees all resources associated with a semaphore. Use freesema to free dynamically allocated semaphores that are no longer needed. If the semaphores are part of a dynamically allocated structure, you must use freesema to free the semaphores before you free the structure containing the semaphores. For freesema, semap is a pointer to the semaphore you want to deallocate. Return Values None See Also cpsema(D3X), cvsema(D3X), psema(D3X), vsema(D3X), sleep(D3), vpsema(D3X), SLEEP_ALLOC(D3), SLEEP_DEALLOC(D3)