Home
last modified time | relevance | path

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

/external/ltp/utils/ffsb-6.0-rc2/
Drand.c35 static int randfd = -1; variable
40 if (randfd > 0) in randcleanup()
41 close(randfd); in randcleanup()
50 got = read(randfd, state->mt, state->size); in sgenrand()
115 if ((randfd < 0) && (randfd = open(RANDSRC, O_RDONLY)) < 0) { in init_random()
/external/dnsmasq/src/
Ddnsmasq.h322 struct randfd { struct
381 struct randfd* rfd4;
383 struct randfd* rfd6;
633 struct randfd* rfd_save; /* " " */
635 struct randfd randomsocks[RANDOM_SOCKS];
Dforward.c24 static struct randfd* allocate_rfd(int family);
795 static struct randfd* allocate_rfd(int family) { in allocate_rfd()