add clock id macros for a number of new(ish) Linux-specific clocks
[musl] / src / prng / rand_r.c
1 #include <stdlib.h>
2
3 int rand_r(unsigned *seed)
4 {
5         return (*seed = *seed * 1103515245 + 12345)/2;
6 }