#[repr(C)]pub struct sembuf_t {
pub sem_num: u16,
pub sem_op: i16,
pub sem_flg: i16,
}
Expand description
semop system calls takes an array of these.
Fields§
§sem_num: u16
semaphore index in array
sem_op: i16
semaphore operation
sem_flg: i16
operation flags
Trait Implementations§
impl Copy for sembuf_t
Auto Trait Implementations§
impl Freeze for sembuf_t
impl RefUnwindSafe for sembuf_t
impl Send for sembuf_t
impl Sync for sembuf_t
impl Unpin for sembuf_t
impl UnwindSafe for sembuf_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more