tiny-shell
0.2
A mini shell project aiming to gain knowledge about Win32 and Linux API
Loading...
Searching...
No Matches
source
runner
help.c
Go to the documentation of this file.
1
#include "
help.h
"
2
#include "
../core/io_wrap.h
"
3
4
enum
run_result
run_help
() {
5
format_output
(
"addpath append new path to PATH\n"
6
"cd change directory\n"
7
"child show all child processes\n"
8
"clear clear the console\n"
9
"date get current date\n"
10
"delete delete a file permanently\n"
11
"env get environment variables\n"
12
"exit exit shell\n"
13
"help print this message\n"
14
"kill kill a process\n"
15
"list list all running processes\n"
16
"lsdir list of files and subdirs in a directory\n"
17
"resume resume a suspended process\n"
18
"set set environment variable\n"
19
"stop suspend a process\n"
20
"time get current time\n"
21
"unset unset environment variable\n"
);
22
return
RUN_OK
;
23
}
run_help
enum run_result run_help()
Display help message.
Definition
help.c:4
help.h
format_output
void format_output(char *fmt,...)
Used format_xxx instead of printf and such for uniform output.
Definition
io_wrap.c:80
io_wrap.h
run_result
run_result
Result of the execution of a command line.
Definition
res.h:6
RUN_OK
@ RUN_OK
Definition
res.h:7
Generated on Mon Jun 16 2025 14:35:16 for tiny-shell by
1.13.2