diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-28 20:15:47 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-28 20:15:47 -0400 |
commit | 8beb7f3ad581076f08e363b724488eaa27d089ac (patch) | |
tree | fc81c73c80562f74b2bf3ea91a88c5cd7563a7fc /lib/libc/include/unistd.h | |
parent | 46190922e0fb42d27bc7c8ed85d9fd44664f50ef (diff) |
usr: libc: Implement POSIX sysconf()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include/unistd.h')
-rw-r--r-- | lib/libc/include/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index 70908c8..8c82eb8 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -30,6 +30,7 @@ #ifndef _UNISTD_H #define _UNISTD_H +#include <sys/exec.h> #include <sys/types.h> #include <sys/cdefs.h> #include <stddef.h> @@ -43,6 +44,7 @@ __BEGIN_DECLS +int sysconf(int name); ssize_t read(int fd, void *buf, size_t count); ssize_t write(int fd, const void *buf, size_t count); |