mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
16 lines
279 B
C
16 lines
279 B
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include_next "sys/random.h"
|
||
|
|
||
|
#if __APPLE__
|
||
|
#include <stddef.h>
|
||
|
|
||
|
int getrandom(void *buf, size_t buflen, unsigned int flags);
|
||
|
|
||
|
#endif // __APPLE__
|