chiark / gitweb /
util: introduce new dev_urandom() call that is like random_bytes() but doesn't fall...
[elogind.git] / src / shared / util.h
index 1169864c3a5853f0d301855253616d0cd346fac9..117855de819933fc173e6e9d9e7073ea00bb8501 100644 (file)
@@ -272,6 +272,7 @@ int make_stdio(int fd);
 int make_null_stdio(void);
 int make_console_stdio(void);
 
 int make_null_stdio(void);
 int make_console_stdio(void);
 
+int dev_urandom(void *p, size_t n);
 void random_bytes(void *p, size_t n);
 
 static inline uint64_t random_u64(void) {
 void random_bytes(void *p, size_t n);
 
 static inline uint64_t random_u64(void) {