SysGetProcessExitCode

Table of Contents

SysGetProcessExitCode

Description

Get the exit code of a completed process.

Parameters

NameDirectionDescription
proc_infoinProcess information object.
exit_codeoutExit code will be stored here.

Success

Returns true and stores exit code.

Failure

Returns false if process hasn’t completed or error occurred.

Usage example (Cross-references)

    }
    
    bool SysGetProcessExitCode(SysProcInfo* proc_info, i32* exit_code) {
    if (!proc_info || !exit_code) {
    return false;

Share :

Related Posts

SysGetCurrentProcessId

SysGetCurrentProcessId Description Platform independent method to get current process Id.

Read More

SysMutexDestroy

SysMutexDestroy Description Destroy the provided mutex object. Once a mutex is destroyed, all resources held by it will be freed. Using it after this cal is UB.

Read More

SysGetFileSize

SysGetFileSize Description Get size of file without opening it.

Read More