Sign in
android
/
platform
/
external
/
musl
/
3ea3fcf78a5532e118856846df8adbf3f60ef716
/
.
/
src
/
prng
/
seed48.c
blob: bce7b339fea015aaba454b2b15efdb5a0c1154e1 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<string.h>
#include
"rand48.h"
unsigned
short
*
seed48
(
unsigned
short
*
s
)
{
static
unsigned
short
p
[
3
];
memcpy
(
p
,
__seed48
,
sizeof
p
);
memcpy
(
__seed48
,
s
,
sizeof
p
);
return
p
;
}