This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Definition of __USE_MISC?
On Thu, 5 Oct 2017, Zack Weinberg wrote:
> On Thu, Oct 5, 2017 at 2:07 AM, Sebastian Huber
> <sebastian.huber@embedded-brains.de> wrote:
> > according to the comment in features.h we have:
> >
> > __USE_MISC Define things from 4.3BSD or System V Unix.
>
> This was the historic definition, but I believe nowadays __USE_MISC is
> just "anything that's not part of an official standard but that we
> want to support and make visible by default." We don't have a
> formalized way of deciding whether something belongs under __USE_MISC
> or __USE_GNU, but "this is visible by default on other POSIXy
> operating systems" is certainly a strong argument for __USE_MISC.
Indeed - and, many things that are present in __USE_MISC because of the
historical definition may by now be candidates for obsoletion, if there is
now a much more widely used standard interface for doing the same thing.
--
Joseph S. Myers
joseph@codesourcery.com