Please check the manual page semop(2).