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


On 2023-09-20 05:52, Evgeny Grin wrote:
If you need have a function with "file offset" argument then use either 'uint64_t'

Although your other advice is good, this one is suspect. I'm glad I didn't follow similar advice to use 'int32_t' or 'long' for file offsets back in the day.

Also, to be pedantic, the types int64_t and uint64_t are optional in POSIX, and portable programs shouldn't use them unconditionally.

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux