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