mirror of https://github.com/mkerrisk/man-pages
getrandom.2: SYNOPSIS: make return type of getrandom() 'ssize_t'
This accords with glibc headers and the Linux kernel source. Reported-by: Fabio Scotoni <fabio@esse.ch> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2021d0b3be
commit
7048a9fc8e
|
@ -30,7 +30,7 @@ getrandom \- obtain a series of random bytes
|
|||
.SH SYNOPSIS
|
||||
.B #include <sys/random.h>
|
||||
.PP
|
||||
.BI "int getrandom(void *"buf ", size_t " buflen ", unsigned int " flags );
|
||||
.BI "ssize getrandom(void *"buf ", size_t " buflen ", unsigned int " flags );
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR getrandom ()
|
||||
|
|
Loading…
Reference in New Issue