Quash Shell
0.1
A simple yet powerfull shell program
|
#include "quash.h"
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include "command.h"
#include "execute.h"
#include "parsing_interface.h"
#include "memory_pool.h"
Functions | |
QuashState | initial_state () |
Create the initial QuashState structure. More... | |
bool | is_running () |
Query if quash should accept more input or not. More... | |
char * | get_command_string () |
Get a deep copy of the current command string. More... | |
bool | is_tty () |
void | end_main_loop (int exit_status) |
int | main (int argc, char **argv) |
Quash entry point. More... | |
Quash's main file
char* get_command_string | ( | ) |
Get a deep copy of the current command string.
QuashState initial_state | ( | ) |
Create the initial QuashState structure.
bool is_running | ( | ) |
Query if quash should accept more input or not.
int main | ( | int | argc, |
char ** | argv | ||
) |
Quash entry point.
argc | argument count from the command line |
argv | argument vector from the command line |