From 4764846cc2afe0e56f4490e3973b7322c2129e29 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Fri, 24 Nov 2023 21:47:02 +0100 Subject: Refactor write() and pwrite() --- userland/libc/include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'userland/libc/include/unistd.h') diff --git a/userland/libc/include/unistd.h b/userland/libc/include/unistd.h index ccfec5e..d6811b8 100644 --- a/userland/libc/include/unistd.h +++ b/userland/libc/include/unistd.h @@ -28,4 +28,6 @@ char *getcwd(char *buf, size_t size); int isatty(int fd); int pread(int fd, void *buf, size_t count, size_t offset); int fork(void); +int write(int fd, const char *buf, size_t count); +int pwrite(int fd, const char *buf, size_t count, size_t offset); #endif -- cgit v1.2.3