|
C-Shell
A simple shell written in C.
|
#include <ctype.h>#include <errno.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <unistd.h>#include "../internal_commands.h"Functions | |
| int | cd (int nargs, char **args) |
| Change the shell working directory. | |
Variables | |
| int | opterr |
| int | optind |
| int | optopt |
| char * | optarg |
| int cd | ( | int | nargs, |
| char ** | args ) |
Change the shell working directory.
If no path is provided, changes the current directory to /.
|
extern |
|
extern |
| int optind |
| int optopt |