Files
clang-p2996/libc/include/sys/random.yaml
Schrodinger ZHU Yifan defd0d966d [libc] implement unistd/getentropy (#122692)
Implement GNU extension getentropy. This function is used by many
programs to acquire entropy without handling the loop of getrandom.
2025-01-15 18:27:05 +08:00

25 lines
441 B
YAML

header: sys/random.h
header_template: random.h.def
macros: []
types:
- type_name: ssize_t
- type_name: size_t
enums: []
objects: []
functions:
- name: getrandom
standards:
- Linux
return_type: ssize_t
arguments:
- type: void *
- type: size_t
- type: unsigned int
- name: getentropy
standards:
- GNUExtensions
return_type: int
arguments:
- type: void *
- type: size_t