#[repr(C)]
pub struct msghdr_t { pub msg_name: usize, pub msg_namelen: i32, pub msg_iov: *mut iovec_t, pub msg_iovlen: size_t, pub msg_control: usize, pub msg_controllen: size_t, pub msg_flags: u32, }
Expand description

As we do 4.4BSD message passing we use a 4.4BSD message passing system, not 4.3. Thus msg_accrights(len) are now missing. They belong in an obscure libc emulation or the bin.

Fields

msg_name: usize

ptr to socket address structure

msg_namelen: i32

size of socket address structure

msg_iov: *mut iovec_t

scatter/gather array

msg_iovlen: size_tmsg_control: usize

ancillary data

msg_controllen: size_t

ancillary data buffer length

msg_flags: u32

flags on received message

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.