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