SysProcTerminate
- Function
- October 8, 2025
Table of Contents
SysProcTerminate
SysProcTerminateDescription
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)
- In
Proc.c:333:
}
void SysProcTerminate(SysProc *proc) {
if (!proc) {
LOG_FATAL("Invalid argument");
- In
Proc.c:392:
LOG_FATAL("Invalid argument");
}
SysProcTerminate(proc);
#if defined(__APPLE__) || defined(__linux__)
close(proc->stdin_fd);