mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
libc/rand_r: support rand_r api
refs to https://pubs.opengroup.org/onlinepubs/7908799/xsh/rand.html Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
@@ -132,6 +132,7 @@ extern "C"
|
||||
|
||||
void srand(unsigned int seed);
|
||||
int rand(void);
|
||||
int rand_r(FAR unsigned int *seedp);
|
||||
void lcong48(FAR unsigned short int param[7]);
|
||||
FAR unsigned short int *seed48(FAR unsigned short int seed16v[3]);
|
||||
void srand48(long int seedval);
|
||||
|
||||
Reference in New Issue
Block a user