diff options
Diffstat (limited to '')
-rw-r--r-- | usr/klibc/mrand48.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/klibc/mrand48.c b/usr/klibc/mrand48.c new file mode 100644 index 0000000..e3b73cc --- /dev/null +++ b/usr/klibc/mrand48.c @@ -0,0 +1,13 @@ +/* + * mrand48.c + */ + +#include <stdlib.h> +#include <stdint.h> + +unsigned short __rand48_seed[3]; /* Common with lrand48.c, srand48.c */ + +long mrand48(void) +{ + return jrand48(__rand48_seed); +} |