HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/include/sys/prng.h
/*-
 * This file is in the public domain.
 *
 * $FreeBSD$
 */

#ifndef	_SYS_PRNG_H_
#define	_SYS_PRNG_H_

#define	PCG_USE_INLINE_ASM	1
#include <contrib/pcg-c/include/pcg_variants.h>

#ifdef	_KERNEL
__uint32_t prng32(void);
__uint32_t prng32_bounded(__uint32_t bound);
__uint64_t prng64(void);
__uint64_t prng64_bounded(__uint64_t bound);
#endif

#endif