Skip to content

SysProcGetId

SysProcGetId

Description

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)

Usage examples (Cross-references)
    }
    
    i32 SysProcGetId(SysProc *proc) {
        if (!proc) {
            LOG_FATAL("Invalid argument");
Last updated on