Add getppid().

This commit is contained in:
Andreas Kling 2018-11-06 13:33:06 +01:00
commit 77fe8e8363
Notes: sideshowbarker 2024-07-19 18:33:07 +09:00
6 changed files with 22 additions and 8 deletions

View file

@ -269,7 +269,7 @@ ByteBuffer procfs$summary()
process->sid(),
process->uid(),
toString(process->state()),
process->parentPID(),
process->ppid(),
process->timesScheduled(),
process->number_of_open_file_descriptors(),
process->tty() ? strrchr(process->tty()->ttyName().characters(), '/') + 1 : "n/a",