[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49807405.2060606@redhat.com>
Date: Wed, 28 Jan 2009 16:04:37 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: mtk.manpages@...il.com
CC: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-api@...r.kernel.org, aarcange@...hat.com
Subject: Re: [PATCH v7 3/5] Add preadv and pwritev system calls.
Michael Kerrisk wrote:
>> The application-visible interface provided by glibc should look like
>> this to be compatible to the existing implementations in the *BSD family:
>>
>> ssize_t preadv(int d, const struct iovec *iov, int iovcnt, off_t offset);
>> ssize_t pwritev(int d, const struct iovec *iov, int iovcnt, off_t offset);
>
> I earlier asked if you could provide some userspace example code using
> this API. If there was a response, I missed it. Could you please
> provide some working test using this interface.
I had some ptrs in the patch series intro text.
Standalone test app is attached now.
cheers,
Gerd
View attachment "preadv.c" of type "text/x-csrc" (2671 bytes)
Powered by blists - more mailing lists