Re: [PATCH v2] Add preadv and pwritev system calls.

Gerd Hoffmann
2008-12-12T19:56:06Z

Russell King wrote:
>> should be similar to pread/pwrite, e.g:
>>
>> int preadv(fd, iovec, iovec_size, offset)
>
> Yes, and that's easy for glibc to achieve.

This hints the ABI problem exists at syscall level only. Is that
correct? So we can have

preadv(fd, vec, vlen, off)

argument ordering at app <-> glibc level and

preadv(fd, vec, off, vlen)

ordering at glibc <-> kernel (aka syscall) level and it works fine for
ARM + MIPS + PARISC?

thanks,
Gerd