tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
kill.h File Reference
#include "../core/args.h"
#include "res.h"
Include dependency graph for kill.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

enum run_result run_kill (int proc_id)
 Kill a process.
 

Function Documentation

◆ run_kill()

enum run_result run_kill ( int proc_id)

Kill a process.

Definition at line 5 of file kill.c.

5 {
6 bool result = kill_process(proc_id);
7 return result ? RUN_OK : RUN_FAILED;
8}
bool kill_process(int proc_id)
Kill a process.
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9

References kill_process(), RUN_FAILED, and RUN_OK.

Referenced by invoke_runner().

Here is the call graph for this function:
Here is the caller graph for this function: