From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Thomas Mack <mack-WMLsJPcVvUbeKaaq6wa0og@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: fseeko / ftello missing info
Date: Tue, 30 Sep 2014 08:57:00 +0200 [thread overview]
Message-ID: <542A543C.4090600@gmail.com> (raw)
In-Reply-To: <fa475f3c-1f2a-47d2-9d68-e223614bd27b-Yeh6xsaYXK/t3yNdKPxyEA4jNU5vUVPG@public.gmane.org>
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
parent reply other threads:[~2014-09-30 6:57 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <fa475f3c-1f2a-47d2-9d68-e223614bd27b-Yeh6xsaYXK/t3yNdKPxyEA4jNU5vUVPG@public.gmane.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=542A543C.4090600@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mack-WMLsJPcVvUbeKaaq6wa0og@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.