Function esp_idf_svc::sys::esp_vfs_pread
source ยท pub unsafe extern "C" fn esp_vfs_pread(
fd: i32,
dst: *mut c_void,
size: usize,
offset: i32,
) -> isize
Expand description
@brief Implements the VFS layer of POSIX pread()
@param fd File descriptor used for read @param dst Pointer to the buffer where the output will be written @param size Number of bytes to be read @param offset Starting offset of the read
@return A positive return value indicates the number of bytes read. -1 is return on failure and errno is set accordingly.