]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getrandom.2: Starting with glibc 2.25, getrandom() is now declared in <sys/random.h>
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 31 Jan 2017 03:13:43 +0000 (16:13 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 1 Feb 2017 19:25:18 +0000 (08:25 +1300)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getrandom.2

index 26ce0ed0c87f8f49619c854b4ddbf7ad38968329..644767f1d73278e9481210f993d818c37144e038 100644 (file)
@@ -28,7 +28,7 @@
 .SH NAME
 getrandom \- obtain a series of random bytes
 .SH SYNOPSIS
-.B #include <linux/random.h>
+.B #include <sys/random.h>
 .sp
 .BI "int getrandom(void *"buf ", size_t " buflen ", unsigned int " flags );
 .SH DESCRIPTION