Skip to content

ProcTerminate

Description

Terminate the child process

Parameters

Name Direction Description
proc in Child process handle to terminate.

Success

Return

Failure

Abort with log message.

Usage example (Cross-references)

Usage examples (Cross-references)
    }
    
    void ProcTerminate(Proc *proc) {
        if (!proc) {
            LOG_FATAL("Invalid argument");
            LOG_FATAL("ProcDestroy requires the allocator that created the handle");
        }
        ProcTerminate(proc);
    #if defined(__APPLE__) || defined(__linux__)
        close(proc->stdin_fd);
Last updated on