Reference

semwrite(1)

writes to a semaphore set

NAME

semwrite - writes to a semaphore set

SYNOPSIS

semwrite id semaphore_number_operation_pairs

DESCRIPTION

semwrite Writes to a series of semaphores in the semaphore set specified by the identifier id . The semaphores are specified by number (starting from 0) and each semaphore has a positive or negative number by which that semaphore should be incremented or decremented.

SEE ALSO

semget(1), semsid(1), semread(1), semperm(1), semop(2).