From 5af3aee3f798489f1a99f227f454e4fc3c3ceea3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 10 Apr 2024 11:27:29 -0400 Subject: libc: Add read() Signed-off-by: Ian Moffett --- lib/libc/include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc/include') diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index 8784d6b..8d92422 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -41,6 +41,7 @@ extern "C" { _Noreturn void _exit(int status); ssize_t write(int fd, const void *buf, size_t count); +ssize_t read(int fd, void *buf, size_t count); #if defined(__cplusplus) } -- cgit v1.2.3