xref: /third_party/musl/porting/uniproton/kernel/src/prng/rand.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/porting/uniproton/kernel/src/prng/
1570af302Sopenharmony_ci#include <stdlib.h>
2570af302Sopenharmony_ci#include <stdint.h>
3570af302Sopenharmony_ci
4570af302Sopenharmony_civoid srand(unsigned s)
5570af302Sopenharmony_ci{
6570af302Sopenharmony_ci	return srandom(s);
7570af302Sopenharmony_ci}
8570af302Sopenharmony_ci
9570af302Sopenharmony_ciint rand(void)
10570af302Sopenharmony_ci{
11570af302Sopenharmony_ci	return random();
12570af302Sopenharmony_ci}

Indexes created Thu Nov 07 10:32:03 CST 2024