SolarEnergy/esp32_device/main/random.h

22 lines
236 B
C
Raw Permalink Normal View History

2024-07-27 13:31:17 +00:00
/**
* Random utilities
*/
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Generate random string of given size
*/
void rand_str(size_t len, char *dest);
#ifdef __cplusplus
}
#endif