#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "input.h"
#include "history.h"
#include "variables.h"
#include <unistd.h>
#include <dirent.h>
Go to the source code of this file.
◆ BUILT_IN
◆ built_in_exec()
int built_in_exec |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ cmd_not_found_built_in()
int cmd_not_found_built_in |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ DBG()
◆ echo_built_in()
int echo_built_in |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ exit_built_in()
int exit_built_in |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ klsh_main()
Definition at line 237 of file shell.c.
References add_hist_entry(), assign_variable(), built_in_exec(), free(), get_raw_buffer(), hist_push(), memset(), shell_variable::name, parse_argv(), prog_in_path(), shell_variable_add(), shell_variable_get(), strlen(), and shell_variable::value.
◆ parse_argv()
int parse_argv |
( |
char ** |
argv, |
|
|
char * |
raw |
|
) |
| |
◆ prog_in_path()
char * prog_in_path |
( |
char * |
p, |
|
|
char * |
path |
|
) |
| |
◆ version_built_in()
int version_built_in |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ command_list
Initial value:
Definition at line 97 of file shell.c.