This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getentropy for <unistd.h>


On 12/28/2016 10:14 AM, Andreas Schwab wrote:
On Dez 28 2016, Florian Weimer <fweimer@redhat.com> wrote:

On 12/27/2016 06:46 PM, Andreas Schwab wrote:
On Dez 23 2016, Florian Weimer <fweimer@redhat.com> wrote:

Should I depend on _GNU_SOURCE instead?  The __USE_MISC feature macro
seems rather broad.

__USE_MISC is what is used for BSD things.

Even for new BSD additions?  This part wasn't clear to me.

It's not a GNU invention.

It's not in 4.3BSD either, and if __USE_MISC is intended to be restricted to those definitions (or those of similar vintage), then __USE_MISC would not be correct.

If __USE_MISC is free to involve, pretty much like __USE_GNU, then this is not a problem. But it's not clear to me if this is the intent.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]