On 03/31/2017 01:31 PM, Florian Weimer wrote: > * Nikos Mavrogiannopoulos: > >> +In earlier versions of glibc this function was avaible under the >> +.BR <sys/random.h> >> +header. > > It's still available in <sys/random.h>, and the declaration there can > still be useful if you want to compile without feature test macros. > > In addition, I don't think there ever was a released glibc version > where getentropy was declared in <sys/random.h>, but not in <unistd.h> > (with the relevant feature test macros). Thanks, Florian. I tweaked the page to mention the FTM requirements when using <unistd.h>, and modified the text in NOTES to read: getentropy() is also declared in <sys/random.h>. (No feature test macro need be defined to obtain the declaration from that header file.) Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html