Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_init.c611 int random_device = open("/dev/urandom", O_RDONLY); in real_randomid() local
612 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()