summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getentropy.2
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-13 21:39:00 +0000
committerderaadt <deraadt@openbsd.org>2014-07-13 21:39:00 +0000
commitd119345d76d3f4b0ac898e0c33d180237c68c2b5 (patch)
treef190afe769a786d0d5711b09508968fb9f3fc4ab /lib/libc/sys/getentropy.2
parentExplicitly initialise slen - this was not previously done due to a missing (diff)
downloadwireguard-openbsd-d119345d76d3f4b0ac898e0c33d180237c68c2b5.tar.xz
wireguard-openbsd-d119345d76d3f4b0ac898e0c33d180237c68c2b5.zip
yes indeed, it returns void *. from Jean-Philippe Ouellet, i also had
this lurking in a tree
Diffstat (limited to 'lib/libc/sys/getentropy.2')
-rw-r--r--lib/libc/sys/getentropy.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getentropy.2 b/lib/libc/sys/getentropy.2
index d9d2e422a8e..307d467c4f0 100644
--- a/lib/libc/sys/getentropy.2
+++ b/lib/libc/sys/getentropy.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getentropy.2,v 1.4 2014/06/15 07:24:19 jmc Exp $
+.\" $OpenBSD: getentropy.2,v 1.5 2014/07/13 21:39:00 deraadt Exp $
.\"
.\" Copyright (c) 2014 Theo de Raadt
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 15 2014 $
+.Dd $Mdocdate: July 13 2014 $
.Dt GETENTROPY 2
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
-.Fn getentropy "char *buf" "size_t buflen"
+.Fn getentropy "void *buf" "size_t buflen"
.Sh DESCRIPTION
.Nm
fills a buffer with high-quality seed-grade entropy, which can