#[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: usizeptr to socket address structure
msg_namelen: i32size of socket address structure
msg_iov: *mut iovec_tscatter/gather array
msg_iovlen: size_tmsg_control: usizeancillary data
msg_controllen: size_tancillary data buffer length
msg_flags: u32flags on received message
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for msghdr_t
impl !Send for msghdr_t
impl !Sync for msghdr_t
impl Unpin for msghdr_t
impl UnwindSafe for msghdr_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more