Function rcutils_get_pid
Defined in File process.h
Function Documentation
-
int rcutils_get_pid(void)
Retrieve the current process ID.
This function returns the current process ID, and is always successful.
This function is thread-safe.
- Returns:
The current process ID.