1 Jan
2018
1 Jan
'18
08:42
01.01.2018 02:16, David C. Rankin пишет:
Yes, yes, I have glibc-devel installed and I have /usr/include/linux/random.h, but notice:
it does not contain a prototype for getrandom()
This is kernel header, why should it contain user-space prototypes.
that's the funky missing part. With arch, it is now in sys/random.h, but
Compare glibc versions.
for leap, it should be in linux/random.h -- at least according to the man page on Leap. Checkout man getrandom.
man page is completely independent of either kernel or glibc. And this is already fixed in actual man-pages.
Why is the prototype missing?
Because it has never been in this file in the first place and glibc in Leap is too old to provide another file.