// utf-8

#ifndef _random_h_
#define _random_h_

#include "kio/kio.h"

// these better random functions are included in BSD and Linux
// defined in stdlib.h
// no need to include them there
//
#if !defined(_UNIX)
extern long 	random    	( );											// random number [0..0x7fffffff]
extern void  	srandom   	( unsigned long x);								// "" set random seed
extern char* 	initstate 	( unsigned long seed, char* arg_state, int n);	// "" init seed array
extern char* 	setstate  	( char* arg_state );							// "" set new and get old seed array
#endif

#endif
