Add arc4random family declaration

This commit is contained in:
Andrey A. Chernov 1997-06-14 01:33:52 +00:00
parent e9c3c2bc0b
commit b24d5f1d6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26630

View File

@ -37,6 +37,7 @@
#define _STDLIB_H_
#include <machine/ansi.h>
#include <machine/types.h>
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#ifdef _BSD_RUNE_T_
@ -130,6 +131,10 @@ void srand48 __P((long));
void *alloca __P((size_t)); /* built-in for gcc */
/* getcap(3) functions */
u_int32_t
arc4random __P((void));
void arc4random_stir __P((void));
void arc4random_addrandom __P((unsigned char *dat, int datlen));
char *getbsize __P((int *, long *));
char *cgetcap __P((char *, char *, int));
int cgetclose __P((void));