diff options
author | dzwdz | 2023-06-10 16:26:46 +0200 |
---|---|---|
committer | dzwdz | 2023-06-10 16:26:46 +0200 |
commit | b09263bd64b3408cbd109dacc4b7618d22b02248 (patch) | |
tree | e461c86fdf229670451f657ef83dd1e2ac802bba /src/kernel/proc.h | |
parent | 112eafe13c3628cad6e692179c064dbbc3be2d8b (diff) |
kernel: implement getpid, getppid
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index dce99fb..bf5db69 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -69,6 +69,7 @@ struct Proc { Handle *procfs; } specialh; + // TODO pids should be 64bit. also typedef pid_t uint32_t globalid; /* only for internal use, don't expose to userland */ uint32_t refcount; /* non-owning. should always be 0 on kill */ bool noreap; |