feat(newlib): Implement getentropy() function

Closes https://github.com/espressif/esp-idf/issues/11963
This commit is contained in:
Alexey Gerenkov
2023-08-03 16:25:53 +03:00
parent 172f086c6e
commit f8e020b1d7
5 changed files with 58 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ extern "C" {
int truncate(const char *, off_t __length);
int gethostname(char *__name, size_t __len);
int getentropy(void *buffer, size_t length);
#ifdef __cplusplus
}