mirror of
https://git.suckless.org/9base
synced 2025-08-22 07:53:48 -07:00
initial import
This commit is contained in:
10
lib9/rand.c
Normal file
10
lib9/rand.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <lib9.h>
|
||||
|
||||
extern long p9lrand(void);
|
||||
#define lrand p9lrand
|
||||
|
||||
int
|
||||
p9rand(void)
|
||||
{
|
||||
return lrand() & 0x7fff;
|
||||
}
|
Reference in New Issue
Block a user