Sign in
plan9port
/
plan9
/
24f4e66b12cf0501d0f239ade10b2963f46e6755
/
.
/
src
/
lib9
/
lrand.c
blob: 47c331d994ac351ab6b67427ea72b78438c08918 [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
long
lrand
(
void
)
{
return
((
rand
()<<
16
)^
rand
())
&
0x7FFFFFFF
;
}