yamt commented on code in PR #13498: URL: https://github.com/apache/nuttx/pull/13498#discussion_r1818306578
########## fs/vfs/fs_write.c: ########## @@ -32,30 +32,96 @@ #include <assert.h> #include <nuttx/cancelpt.h> +#include <nuttx/fs/uio.h> #include "notify/notify.h" #include "inode/inode.h" +/**************************************************************************** + * Private Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: iovec_compat_writev + * + * Description: + * Emulate writev using file_operation::write. + * + ****************************************************************************/ + +static ssize_t iovec_compat_writev(FAR struct file *filep, + FAR const struct uio *uio) +{ + const struct iovec *iov = uio->uio_iov; Review Comment: done ########## fs/vfs/fs_write.c: ########## @@ -32,30 +32,96 @@ #include <assert.h> #include <nuttx/cancelpt.h> +#include <nuttx/fs/uio.h> #include "notify/notify.h" #include "inode/inode.h" +/**************************************************************************** + * Private Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: iovec_compat_writev + * + * Description: + * Emulate writev using file_operation::write. + * + ****************************************************************************/ + +static ssize_t iovec_compat_writev(FAR struct file *filep, 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