From: deraadt Date: Sun, 13 Jul 2014 21:39:00 +0000 (+0000) Subject: yes indeed, it returns void *. from Jean-Philippe Ouellet, i also had X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d119345d76d3f4b0ac898e0c33d180237c68c2b5;p=openbsd yes indeed, it returns void *. from Jean-Philippe Ouellet, i also had this lurking in a tree --- 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 .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