Support EGD.
[openssl.git] / doc / crypto / RAND_egd.pod
1 =pod
2
3 =head1 NAME
4
5 RAND_egd - Query entropy gathering daemon
6
7 =head1 SYNOPSIS
8
9  #include <openssl/rand.h>
10
11  int RAND_egd(const char *path);
12
13 =head1 DESCRIPTION
14
15 RAND_egd() queries the entropy gathering daemon EGD on socket B<path>.
16
17 =head1 RETURN VALUES
18
19 RAND_egd() returns the number of bytes read from the daemon on
20 success, and -1 if the connection failed or the daemon did not return
21 enough data to fully seed the PRNG.
22
23 =head1 SEE ALSO
24
25 L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
26
27 =head1 HISTORY
28
29 RAND_egd() is available since OpenSSL 0.9.5.
30
31 =cut