Function esp_idf_sys::esp_vfs_pread
source ยท pub unsafe extern "C" fn esp_vfs_pread(
fd: c_int,
dst: *mut c_void,
size: usize,
offset: off_t,
) -> 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.