kopia lustrzana https://github.com/espressif/esp-idf
23 wiersze
367 B
C
23 wiersze
367 B
C
/*
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __SYS_RANDOM__
|
|
#define __SYS_RANDOM__
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif //__SYS_RANDOM__
|