From 1caf181cd04090af77fd0aff8dd4b87df7a2ed66 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 3 Jul 2025 18:06:04 -0400 Subject: usr: libc: Add POSIX getpid() and getppid() Signed-off-by: Ian Moffett --- lib/libc/include/unistd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libc/include/unistd.h') 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 */ -- cgit v1.2.3