the Linux man-pages as an educational tool
Maciej W. Rozycki
macro@orcam.me.uk
Fri Aug 14 15:30:17 GMT 2026
On Sun, 2 Aug 2026, G. Branden Robinson wrote:
> > The name of a header providing some function is thus inconsequential.
>
> Then why not have one official big header file for the whole standard?
>
> #include <stdlibc.h>
That wouldn't be too unreasonable nowadays I suppose, not IMHO anyway.
Back when memory was much more constrained in computers it made sense to
have declarations split across many files so as not to have to load and
process lots of unnecessary data which could overflow the memory space
available. Beyond that the overall performance of contemporary machines
is not to be underrated for the purpose of this consideration either.
So yes, I think having one .h file per -l library would make sense now.
FWIW,
Maciej
More information about the Libc-alpha
mailing list