1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 17:04:59 +00:00
serenity/Base/usr/share/man/man2/getpid.md

320 B

Name

getpid - get current process ID

Synopsis

#include <unistd.h>

pid_t getpid();

Description

Returns the PID (process ID) of the calling process.

Return value

The process ID of the calling process.

Errors

None.

See also