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]

 



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. There isn't an off64_t version like lseek64()

Regards, Jon
--
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