use core::ffi::{c_int, c_void};

#[derive(Clone, Copy, Debug)]
#[repr(C)]
pub struct iovec {
    pub iov_base: *mut c_void,
    pub iov_len: usize,
}

pub type __ygg_iovec_t = iovec;

#[no_mangle]
unsafe extern "C" fn readv(_fd: c_int, _slice: *const iovec, _flags: c_int) -> isize {
    todo!()
}

#[no_mangle]
unsafe extern "C" fn writev(_fd: c_int, _slice: *const iovec, _flags: c_int) -> isize {
    todo!()
}
