1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

Add getppid().

This commit is contained in:
Andreas Kling 2018-11-06 13:33:06 +01:00
parent 3024167cbd
commit 77fe8e8363
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",