Skip to content
SysProcDestroy

SysProcDestroy

SysProcDestroy

Description

Terminate the child process and then destroy given SysProc structure.

Parameters

Name Direction Description
proc in Child process handle to terminate and destroy.

Success

Return

Failure

Abort with log message.

Usage example (Cross-references)

Usage examples (Cross-references)
    
    
    void SysProcDestroy(SysProc *proc) {
        if (!proc) {
            LOG_FATAL("Invalid argument");
    
        // finally terminate
        SysProcDestroy(proc);
    }
Last updated on