SysProcGetId

Table of Contents

SysProcGetId

Description

Get the OS-specific process ID of a child process.

Parameters

NameDirectionDescription
procinChild process handle.

Success

Returns the process ID of the child process.

Failure

Returns -1

Usage example (Cross-references)

    }
    
    i32 SysProcGetId(SysProc *proc) {
    if (!proc) {
    LOG_FATAL("Invalid argument");

Share :