diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-10 11:27:29 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-10 11:28:40 -0400 |
commit | 5af3aee3f798489f1a99f227f454e4fc3c3ceea3 (patch) | |
tree | 80e4d0869ba957a9df3153607e67a5e77d72c122 /lib/libc/include | |
parent | af6320c545f13c62958120a3724113d483f2a904 (diff) |
libc: Add read()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) } |