It takes a void *, not a char *. Index: getentropy.2 =================================================================== RCS file: /cvs/src/lib/libc/sys/getentropy.2,v retrieving revision 1.4 diff -u -p -r1.4 getentropy.2 --- getentropy.2 15 Jun 2014 07:24:19 -0000 1.4 +++ getentropy.2 13 Jul 2014 21:32:54 -0000 @@ -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