[PATCH 1/3] libcsupport: Add and use rtems_libio_iovec_eval()
Chris Johns
chrisj at rtems.org
Tue Dec 17 07:58:59 UTC 2013
On 17/12/2013 6:50 pm, Sebastian Huber wrote:
>
> Ok, I will change this into "if ( total > 0 ) {" since I don't need the
> total == 0 case currently.
I think we should pass the == 0 case through if not a regular file.
>
> Is the rest ok?
>
In rtems_libio_iovec_eval should len be int or ssize ?
> + for ( v = 0 ; v < iovcnt ; v++ ) {
> + int len = iov[ v ].iov_len;
^ ?
Chris
More information about the devel
mailing list