ref: bd510d7fb0f1fd312319be4d9fd37a9c4bb5169a dir: /sys/src/libc/port/rand.c/
#include <u.h> #include <libc.h> int rand(void) { return lrand() & 0x7fff; }