Skip to main content

write_raw

Function write_raw 

Source
pub unsafe fn write_raw(
    fd: RawFd,
    buf: *const u8,
    len: usize,
) -> SysResult<usize>
Expand description

Writes up to len bytes from raw pointer buf to fd.

ยงSafety

buf must be valid for reads of len bytes (when len > 0).