esp_vfs_pwrite() function
Implements the VFS layer of POSIX pwrite()
Arguments
fd
File descriptor used for write
src
Pointer to the buffer from where the output will be read
size
Number of bytes to write
offset
Starting offset of the write
Return value
A positive return value indicates the number of bytes written. -1 is return on failure and errno is set accordingly.
esp_vfs_pwrite() calls 5 functions:
![]()
esp_vfs_pwrite()
esp_vfs_pwrite() reads 4 variables:
![]()
esp_vfs_pwrite()