anchao commented on code in PR #15603:
URL: https://github.com/apache/nuttx/pull/15603#discussion_r1923537264


##########
fs/vfs/fs_read.c:
##########
@@ -126,18 +113,21 @@ static ssize_t file_readv_compat(FAR struct file *filep, 
FAR struct uio *uio)
  *
  * Input Parameters:
  *   filep  - File structure instance
- *   uio    - User buffer information
+ *   iov    - User-provided iovec to save the data
+ *   iovcnt - The number of iovec
  *
  * Returned Value:
  *   The positive non-zero number of bytes read on success, 0 on if an
  *   end-of-file condition, or a negated errno value on any failure.
  *
  ****************************************************************************/
 
-ssize_t file_readv(FAR struct file *filep, FAR struct uio *uio)
+ssize_t file_readv(FAR struct file *filep,
+                   FAR const struct iovec *iov, int iovcnt)
 {
   FAR struct inode *inode;
   ssize_t ret = -EBADF;
+  struct uio uio;

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to