asm-generic/fcntl.h vs bits/fcntl.h
Joseph Myers
josmyers@redhat.com
Fri Jan 16 22:41:08 GMT 2026
On Fri, 16 Jan 2026, DJ Delorie wrote:
> Joseph Myers <josmyers@redhat.com> writes:
> > If we split it like this, I definitely think those categories should be
> > three separate <bits/fcntl-*.h> files, rather than __FCNTL_H_INCLUDE_*
> > conditionals within a single header.
>
> I thought of that, but given the contents, it has drawbacks:
>
> * three times as many files to maintain (across all arches!)
Maybe some groups of constants have more in common across architectures
than others? Does it actually end up as three times as many files being
needed?
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list