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

From: Gerd Hoffmann
Date: Fri Dec 12 2008 - 14:56:22 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/