SysProcDestroy

Table of Contents

SysProcDestroy

Description

Terminate the child process and then destroy given SysProc structure.

Parameters

NameDirectionDescription
procinChild process handle to terminate and destroy.

Success

Return

Failure

Abort with log message.

Usage example (Cross-references)

    
    
    void SysProcDestroy(SysProc *proc) {
    if (!proc) {
    LOG_FATAL("Invalid argument");
    
    // finally terminate
    SysProcDestroy(proc);
    }

Share :