SysProcGetId
- Function
- October 8, 2025
Table of Contents
SysProcGetId
SysProcGetIdDescription
Get the OS-specific process ID of a child process.
Parameters
| Name | Direction | Description |
|---|---|---|
proc | in | Child process handle. |
Success
Returns the process ID of the child process.
Failure
Returns -1
Usage example (Cross-references)
- In
Proc.c:514:
}
i32 SysProcGetId(SysProc *proc) {
if (!proc) {
LOG_FATAL("Invalid argument");