Re: aiocb member aio_offset is off_t which is a signed 32bit int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/01/2015 12:11 AM, Jonny Grant wrote:
> On 12 April 2015 at 09:03, Michael Kerrisk (man-pages)
> <mtk.manpages@xxxxxxxxx> wrote:
>> Hi Jonny,
>>
>> On 30 June 2014 at 12:51, Jonny Grant <jg@xxxxxxxx> wrote:
>>> Hello mtk
>>>
>>> Is it worth clarifying something on this page:
>>>
>>> http://man7.org/linux/man-pages/man7/aio.7.html
>>>
>>> off_t           aio_offset;     /* File offset */
>>>
>>> Could clarify that off_t on a 32bit system will be a signed 32bit
>>> integer, meaning the maximum seek size is 2GB.
>>>
>>> I think this means that aio can only be used to access files up to
>>> 2GB.
>>
>> I don't believe this is true. See <aio.h> and the defintion of this field there.
>>
>> Cheers,
>>
>> Michael
> 
> Hi Michael
> 
> ok, many thanks.
> 
> BTW, the link at bottom of aio.7 is 403:
> http://www.squid-cache.org/~adrian/Reprint-Pulavarty-OLS2003.pdf
> 
> My own opinion is that links change regularly.. so often simpler to avoid them.

Hi Jonny,

I've fixed the link.

Cheers,

Michael



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux