Searched refs:rand_fd (Results 1 – 1 of 1) sorted by relevance
36 int rand_fd = open(RANDOM_PATH, O_RDONLY); in osi_rand() local38 if (rand_fd == INVALID_FD) { in osi_rand()44 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand)); in osi_rand()45 close(rand_fd); in osi_rand()