C-Shell
A simple shell written in C.
Loading...
Searching...
No Matches
internal_commands.h
Go to the documentation of this file.
1
9#ifndef INTERNAL_COMMANDS_H
10#define INTERNAL_COMMANDS_H
11
12#include <stdbool.h>
13
14// macros here
15
16// global variables here
17typedef bool option;
18
19// structs here
20
21// functions here
22
30int cd(int nargs, char **args);
31
44int echo(int nargs, char **args);
45
57int pwd(int nargs, char **args);
58
59#endif
int pwd(int nargs, char **args)
Print the full filename of the current working directory.
Definition pwd.c:19
int cd(int nargs, char **args)
Change the shell working directory.
Definition cd.c:20
int echo(int nargs, char **args)
Write arguments to the standard output.
Definition echo.c:19
bool option
Definition internal_commands.h:17