DeleteSemaphore()
function:
Err DeleteSemaphore( Item s )
s
argument is the item number of the semaphore to delete. The function returns 0 if successful or a negative error code if an error occurred. As with all items, the item number of a deleted semaphore is not reused.