summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-03 18:06:04 -0400
committerIan Moffett <ian@osmora.org>2025-07-03 18:07:24 -0400
commit1caf181cd04090af77fd0aff8dd4b87df7a2ed66 (patch)
tree75d9aef3ef6173cc13e67101d3de74961f68e4cd /lib/libc/include
parent3701a82d3f2d27b8097ce56c0655df7efc0f0153 (diff)
usr: libc: Add POSIX getpid() and getppid()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h
index 8c82eb8..01c4abc 100644
--- a/lib/libc/include/unistd.h
+++ b/lib/libc/include/unistd.h
@@ -52,6 +52,9 @@ int close(int fd);
int access(const char *path, int mode);
off_t lseek(int fildes, off_t offset, int whence);
+pid_t getpid(void);
+pid_t getppid(void);
+
__END_DECLS
#endif /* !_UNISTD_H */