mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 17:58:49 +00:00
28 lines
365 B
Markdown
28 lines
365 B
Markdown
## Name
|
|
|
|
getppid - get current process's parent process ID
|
|
|
|
## Synopsis
|
|
|
|
```**c++
|
|
#include <unistd.h>
|
|
|
|
pid_t getppid();
|
|
```
|
|
|
|
## Description
|
|
|
|
Returns the PID (process ID) of the parent of the calling process.
|
|
|
|
## Return value
|
|
|
|
The process ID of the parent of the calling process.
|
|
|
|
## Errors
|
|
|
|
None.
|
|
|
|
## See also
|
|
|
|
* [`getpid`(2)](getpid.md)
|
|
* [`gettid`(2)](gettid.md)
|