tiny-shell 0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
stop.h File Reference
#include "res.h"
Include dependency graph for stop.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_stop (int proc_id)
 Resume running a process.
 

Function Documentation

◆ run_stop()

enum run_result run_stop ( int proc_id)

Resume running a process.

Definition at line 5 of file stop.c.

5 {
6 bool result = stop_proccess(proc_id);
7 return result ? RUN_OK : RUN_FAILED;
8}
bool stop_proccess(int proc_id)
Stop a process use it ID.
@ RUN_OK
Definition res.h:7
@ RUN_FAILED
Definition res.h:9

References RUN_FAILED, RUN_OK, and stop_proccess().

Referenced by invoke_runner().

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