rand.c 79 B

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