Searched refs:RANDOM (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c285 RANDOM = 0, enumerator in enum:__anon1
359 mcrypt_globals->fd[RANDOM] = -1;
365 if (mcrypt_globals->fd[RANDOM] > 0) {
366 close(mcrypt_globals->fd[RANDOM]);
367 mcrypt_globals->fd[RANDOM] = -1;
385 REGISTER_LONG_CONSTANT("MCRYPT_DEV_RANDOM", RANDOM, CONST_PERSISTENT);
1355 if (source == RANDOM || source == URANDOM) {
1370 *fd = open(source == RANDOM ? "/dev/random" : "/dev/urandom", O_RDONLY);

Completed in 3 milliseconds