On Fri, 27 May 2005, Han Boetes wrote:

> Eric Faurot wrote:
> > I've noted that jot(1) behaviour is erratic on my system (ibook)
> > wrt to random number generation.
> 
> Not a solution to this interesting problem but if you want to get
> real random numbers you can use this little program I wrote:

Come on, Han. This adds nothing of interest. Besides the fact that jot 
uses arc4random as a random source, this is not a forum to show your 
capability to write these trivial C programs.

        -Otto

> 
> /*
>  * Copyright 2003, 2005 Han Boetes <[EMAIL PROTECTED]>
>  * This is released in public domain.
>  *
>  * Compile this thingie with:
>  *
>  * gcc random_number.c -o random_number
>  */
> 
> #include <stdlib.h>
> #include <stdio.h>
> 
> int
> main(void)
> {
>       u_int32_t       random_number;
>       random_number = arc4random();
>       printf("%u\n", random_number);
>       return 0;
> }
> 
> 
> 
> # Han

Reply via email to