Function esp_idf_svc::sys::esp_vfs_pwrite
source ยท pub unsafe extern "C" fn esp_vfs_pwrite(
fd: i32,
src: *const c_void,
size: usize,
offset: i32,
) -> 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.