Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
musl
/
src
/
prng
/
seed48.c
blob: e0699c092afd677bc40339707ac4ca1ab7e265ea [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<string.h>
extern
unsigned
short
__seed48
[
7
];
unsigned
short
*
seed48
(
unsigned
short
*
s
)
{
static
unsigned
short
p
[
3
];
memcpy
(
p
,
__seed48
,
sizeof
p
);
memcpy
(
__seed48
,
s
,
sizeof
p
);
return
p
;
}