What is the canonical way to get data from /dev/random? Specifically: having opened the file, how do I read the stream? I'm currently usingunion { float f; char c[4]; } foo; foo.f = 0.0; fscanf(rand_fp,"%4c",foo.c);
simply read 4 bytes into foo _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"