apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathihalli, Madhusudan" <mad...@hp.com>
Subject RE: Unix LFS support for 1.0
Date Mon, 22 Mar 2004 22:55:52 GMT
>-----Original Message-----
>From: Joe Orton [mailto:joe@manyfish.co.uk]

>On Mon, Mar 22, 2004 at 10:05:52AM -0800, Mathihalli, Madhusudan wrote:
>> On HP-UX it's as simple as using off64_t vs off_t when 
>sendfile64 is used !
>> 
>> sbsize_t sendfile(int s, int fd, off_t offset, bsize_t nbytes,
>>                   const struct iovec *hdtrl, int flags);
>> vs.
>> sbsize64_t sendfile64(int s, int fd, off64_t offset, 
>bsize64_t nbytes,
>>                       const struct iovec *hdtrl, int flags);
>> 
>> Let me know if you were looking for something else !
>
>Yup, that's it, thanks.  Seems this sendfile64() is introduced in a
>later HP-UX release though, I don't have it on my 11.00 box: 
>so I've put
>in the same EINVAL trap as for the Linux !HAVE_SENDFILE64 case.

Yes. It appears that sendfile64 was introduced from HP-UX 11i onwards (I'm trying to confirm
that assumption)

-Madhu
Mime
View raw message