commit | b290926a996316650ab2abf210665b010b387f17 | [log] [tgz] |
---|---|---|
author | Stephanos Ioannidis <root@stephanos.io> | Wed May 25 11:56:24 2022 +0900 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Jun 01 11:03:38 2022 +0200 |
tree | 2823801e1b09578a8df03b3bf712276f156524a7 | |
parent | 5a7b0fb616dc73d85aa09c94c94491b32072030d [diff] |
libc: minimal: Add reentrant rand_r function This commit adds the `rand_r` function, which is a reentrant (i.e. thread-safe) version of the `rand` function, such that a thread-safe variant is always available. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>