From a47ad79afa454192224214a3db2499de12baf93e Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 23 Dec 2017 14:27:30 +0000 Subject: getrandom: fix comment [BZ #22347] * stdlib/getrandom.c (getrandom): Fix comment. * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise. --- stdlib/getrandom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/getrandom.c b/stdlib/getrandom.c index b2a83c2..268b0e4 100644 --- a/stdlib/getrandom.c +++ b/stdlib/getrandom.c @@ -19,8 +19,8 @@ #include #include -/* Write LENGTH bytes of randomness starting at BUFFER. Return the - number of bytes written, or -1 on error. */ +/* Write up to LENGTH bytes of randomness starting at BUFFER. + Return the number of bytes written, or -1 on error. */ ssize_t getrandom (void *buffer, size_t length, unsigned int flags) { -- cgit v1.1