1 #include <u.h> 2 #include <libc.h> 3 4 int rand(void)5 rand(void) 6 { 7 return lrand() & 0x7fff; 8 } 9