Return to libnet_prand.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libnet / src |
version 1.1.1.1, 2012/02/21 22:14:23 | version 1.1.1.2, 2013/07/22 11:54:42 |
---|---|
Line 69 libnet_seed_prand(libnet_t *l) | Line 69 libnet_seed_prand(libnet_t *l) |
} | } |
u_int32_t | uint32_t |
libnet_get_prand(int mod) | libnet_get_prand(int mod) |
{ | { |
u_int32_t n; /* 0 to 4,294,967,295 */ | uint32_t n; /* 0 to 4,294,967,295 */ |
#ifndef _WIN32 | #ifndef _WIN32 |
n = random(); | n = random(); |
#else | #else |