Contains information about a semaphore operation.
#include <sys/sem.h> struct sembuf { unsigned short sem_num; short sem_op; short sem_flg; };
Specifies which semaphore and is the index into the array of sem structures referenced in the sem_base field of the semid_ds structure.
Specifies the operation with one of the following values:
Specifies how the semaphore operation should be performed.