☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
prng
/
seed48.c
☽
☼
libc-top-half/musl/src/prng/seed48.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#include <stdlib.h>
2
#include <string.h>
3
#include "rand48.h"
4
5
unsigned short *seed48(unsigned short *s)
6
{
7
static unsigned short p[3];
8
memcpy(p, __seed48, sizeof p);
9
memcpy(__seed48, s, sizeof p);
10
return p;
11
}