Function iwp_pwrite

Source
pub unsafe extern "C" fn iwp_pwrite(
    fh: HANDLE,
    off: off_t,
    buf: *const c_void,
    siz: size_t,
    sp: *mut size_t,
) -> iwrc
Expand description

@brief Write @a siz bytes into file @a fh at the specified offset @a off from buffer @a buf.

@param fh File handle. @param off Offset from start of the file. @param buf Data buffer to write. @param siz Number of bytes to write. @param [out] sp Number of bytes written. @return 0 on sucess or error code.