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]

 



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
--
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