* Re: fseeko / ftello missing info
[not found] ` <fa475f3c-1f2a-47d2-9d68-e223614bd27b-Yeh6xsaYXK/t3yNdKPxyEA4jNU5vUVPG@public.gmane.org>
@ 2014-09-30 6:57 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; only message in thread
From: Michael Kerrisk (man-pages) @ 2014-09-30 6:57 UTC (permalink / raw)
To: Thomas Mack
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
On 09/26/2014 04:36 PM, Thomas Mack wrote:
> Hi!
>
> On the ftello / fseeko man pages, it is written that #define
> _FILE_OFFSET_BITS 64 will turn off_t into a 64 bit type.
>
> As we had some harder time finding a solution for a problem related
> to this, it should be mentioned on the man page that this definition
> has to appear before including (any?) standard libraries.
>
> My system: Ubuntu 14.04.1; the man page states a date of 2001-11-05
Hello Thomas,
I made the text
On some architectures, both off_t and long are 32-bit types, but
defining _FILE_OFFSET_BITS with the value 64 (before including
any header files) will turn off_t into a 64-bit type.
Thanks for your note.
> Thank you for all your good work!
Bitteschön!
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread