Searched refs:random_device (Results 1 – 1 of 1) sorted by relevance
611 int random_device = open("/dev/urandom", O_RDONLY); in real_randomid() local612 if (random_device < 0) { in real_randomid()619 int retval = read(random_device, random_value, sizeof(u_int)); in real_randomid()622 close(random_device); in real_randomid()629 close(random_device); in real_randomid()