This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
getentropy for <unistd.h>
- From: Florian Weimer <fweimer at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 23 Dec 2016 11:44:57 +0100
- Subject: getentropy for <unistd.h>
- Authentication-results: sourceware.org; auth=none
On OpenBSD, getentropy is declared in <unistd.h>. I would like to add
it to our <unistd.h>, except that we no longer have _BSD_SOURCE.
Should I depend on _GNU_SOURCE instead? The __USE_MISC feature macro
seems rather broad.
Thanks,
Florian