Quash Shell
0.1
A simple yet powerfull shell program
|
#include "quash.h"
#include <limits.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include "command.h"
#include "execute.h"
#include "parsing_interface.h"
#include "memory_pool.h"
Functions | |
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 () |
Check if Quash is receiving input from the command line (TTY) More... | |
void | end_main_loop () |
Causes the execution loop to end. | |
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.
bool is_running | ( | ) |
Query if quash should accept more input or not.
bool is_tty | ( | ) |
Check if Quash is receiving input from the command line (TTY)
int main | ( | int | argc, |
char ** | argv | ||
) |
Quash entry point.
argc | argument count from the command line |
argv | argument vector from the command line |