Move e_pid and e_pgid to libprocess, Add get_self_pid () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m13s

This commit is contained in:
2026-03-17 22:13:01 +01:00
parent 090a4e46ea
commit 7bcd40151d
14 changed files with 69 additions and 26 deletions

14
libprocess/process_self.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _LIBPROCESS_PROCESS_SELF_H
#define _LIBPROCESS_PROCESS_SELF_H
void libprocess_self_init (void);
int process_get_exec_pid (void);
int process_get_exec_pgid (void);
int process_get_pid (void);
int process_get_pgid (void);
#endif // _LIBPROCESS_PROCESS_SELF_H