diff options
Diffstat (limited to 'userland/libc/include')
-rw-r--r-- | userland/libc/include/sys/random.h | 3 | ||||
-rw-r--r-- | userland/libc/include/syscall.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/include/sys/random.h b/userland/libc/include/sys/random.h new file mode 100644 index 0000000..0be3dd8 --- /dev/null +++ b/userland/libc/include/sys/random.h @@ -0,0 +1,3 @@ +#include <stdint.h> + +void randomfill(void *buffer, uint32_t size); diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h index c09eafb..7a3b50d 100644 --- a/userland/libc/include/syscall.h +++ b/userland/libc/include/syscall.h @@ -39,6 +39,7 @@ #define SYS_CHDIR 31 #define SYS_GETCWD 32 #define SYS_ISATTY 33 +#define SYS_RANDOMFILL 34 int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx, uint32_t esi, uint32_t edi); |