mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 22:07:42 +00:00
Add function to get a stream of random numbers into a buffer from /dev/urandom if possible, and falling back to random() if not.
This commit is contained in:
parent
e26d0d1381
commit
0ffa041f36
2 changed files with 21 additions and 0 deletions
1
util.h
1
util.h
|
|
@ -28,5 +28,6 @@ void register_outputfile(FILE *f);
|
|||
void fatal(const char *format, ...);
|
||||
void failure(const char *format, ...);
|
||||
void round_to_page(i64 *size);
|
||||
void get_rand(uchar *buf, int len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue