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

Gerd Hoffmann
2008-12-12T20:39:23Z

Russell King wrote:
> On Fri, Dec 12, 2008 at 08:56:00PM +0100, Gerd Hoffmann wrote:
>> 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?
>
> Fine for ARM

Great. I'll happily switch the ordering then. /me goes wait for acks
from the other archs and plans for a new patch revision early next week.

thanks,
Gerd