SEMTIMEDOP
SEMTIMEDOP behaves identically to SEMOP except that in those cases were the calling process would sleep, the duration of that sleep is limited by the amount of elapsed time specified by the timespec structure whose address is passed in the edi parameter. If the specified time limit has been reached, SEMTIMEDOP fails with -EAGAIN (and none of the operations in sops is performed). If the timeout parameter is NULL, then SEMTIMEDOP behaves exactly like SEMOP.