summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/getentropy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/unistd/getentropy.c')
-rw-r--r--lib/libc/unistd/getentropy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/unistd/getentropy.c b/lib/libc/unistd/getentropy.c
new file mode 100644
index 00000000..f55fed7a
--- /dev/null
+++ b/lib/libc/unistd/getentropy.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+#include <syscall.h>
+
+int getentropy(void *buffer, size_t length)
+{
+ // TODO
+ return 0;
+}