POSIX: move getentropy(2) from libbsd
Specified in POSIX.1-2024 https://www.austingroupbugs.net/view.php?id=1134 Change-Id: Ie715a102aa6f7764bc639e0a1874a6c7f7d81019 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7846 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
bc28372cec
commit
4169a972ee
@@ -481,6 +481,8 @@ extern void encrypt(char block[64], int edflag);
|
||||
extern int getopt(int argc, char *const *argv, const char *shortOpts);
|
||||
extern void swab(const void *src, void *dest, ssize_t nbytes);
|
||||
|
||||
int getentropy(void *buf, size_t buflen);
|
||||
|
||||
/* getopt() related external variables */
|
||||
extern char *optarg;
|
||||
extern int optind, opterr, optopt;
|
||||
|
||||
Reference in New Issue
Block a user