Searched refs:rand_fd (Results 1 – 1 of 1) sorted by relevance
59 int rand_fd; in get_random_buffer() local68 if ((rand_fd = open("/dev/urandom", O_RDONLY)) < 0) { in get_random_buffer()73 if (read(rand_fd, buf, len) < 0) { in get_random_buffer()78 (void) close(rand_fd); in get_random_buffer()