summaryrefslogtreecommitdiff
path: root/src/lib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/include')
-rw-r--r--src/lib/libc/include/unistd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libc/include/unistd.h b/src/lib/libc/include/unistd.h
index fa7f951..d2c32b6 100644
--- a/src/lib/libc/include/unistd.h
+++ b/src/lib/libc/include/unistd.h
@@ -56,4 +56,13 @@ int open(const char *path, int flags);
*/
ssize_t write(int fd, const void *buf, size_t count);
+/*
+ * POSIX read system call
+ *
+ * @fd: File descriptor to read
+ * @buf: Buffer to read into
+ * @count: Number of bytes to read
+ */
+ssize_t read(int fd, void *buf, size_t count);
+
#endif /* _UNISTD_H */