aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/unistd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/unistd/read.c')
-rw-r--r--src/userspace/libc/unistd/read.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/userspace/libc/unistd/read.c b/src/userspace/libc/unistd/read.c
new file mode 100644
index 0000000..c01baa7
--- /dev/null
+++ b/src/userspace/libc/unistd/read.c
@@ -0,0 +1,7 @@
+#include <stdint.h>
+#include <syscall.h>
+
+u32 sys_read(char *path, u32 offset, u32 count, char *buf)
+{
+ return syscall_read(path, offset, count, buf);
+} \ No newline at end of file