Home
last modified time | relevance | path

Searched refs:rand_fd (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c59 int rand_fd; in get_random_buffer() local
68 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()