setval
$sem->setval(n, value)
sem
n
value
Sets the nth value in the semaphore set to value.
3.22.77.63