Function esp_idf_sys::esp_vfs_pwrite

source ยท
pub unsafe extern "C" fn esp_vfs_pwrite(
    fd: c_int,
    src: *const c_void,
    size: usize,
    offset: off_t,
) -> isize
Expand description

@brief Implements the VFS layer of POSIX pwrite()

@param fd File descriptor used for write @param src Pointer to the buffer from where the output will be read @param size Number of bytes to write @param offset Starting offset of the write

@return A positive return value indicates the number of bytes written. -1 is return on failure and errno is set accordingly.