This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: statx struct's stx_size pointer compatibility with uint64_t/size_t
- From: David Howells <dhowells at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: dhowells at redhat dot com, Dominique Martinet <asmadeus at codewreck dot org>, libc-help at sourceware dot org, Quentin Bouget <quentin dot bouget at cea dot fr>, Jeff Layton <jlayton at kernel dot org>
- Date: Tue, 17 Dec 2019 18:11:14 +0000
- Subject: Re: statx struct's stx_size pointer compatibility with uint64_t/size_t
- References: <87r213aykv.fsf@oldenburg2.str.redhat.com> <20191217085918.GA19084@nautica>
Florian Weimer <fweimer@redhat.com> wrote:
> I do not know why the kernel definition of __u64 does not follow that of
> uint64_t in <stdint.h> (or why we even have that __u64 type)
Do Linux's __uXX types predate stdint.h by a few years?
> and whether the kernel definition can be changed at this point
Changing it would require an awful lot of printf format overhaul.
David