Implement rand_r(), strnlen_s(), tempnam(), tmpnam()
The RNG for rand_r()
is pretty weak, but if you're using rand_r()
you probably aren't looking for robust RNG anyway.
tempnam()
and tmpnam()
just use mktemp()
to generate file names.
Edited by Alex Lyon