[libc-commits] [libc] [libc] implement unistd/getentropy (PR #122692)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Tue Jan 14 11:25:07 PST 2025
================
@@ -128,6 +128,13 @@ functions:
arguments:
- type: char *
- type: size_t
+ - name: getentropy
+ standards:
+ - GNUExtensions
+ return_type: int
+ arguments:
+ - type: void *
+ - type: size_t
----------------
nickdesaulniers wrote:
The man page has a note:
> getentropy() is also declared in <sys/random.h>
For compatibility, should you add another declaration there?
https://github.com/llvm/llvm-project/pull/122692
More information about the libc-commits
mailing list