Minishell
|
#include "main.h"
Go to the source code of this file.
Functions | |
void | read_from_pipe (data_t *data) |
void | read_from_terminal (data_t *data) |
void read_from_pipe | ( | data_t * | data | ) |
Reads the input using getline this function will only run if the input is not directrly written in the terminal and comes from file or pipe
data | Global data structure |
void read_from_terminal | ( | data_t * | data | ) |
Reads the input using read with non-cannonical mode only when the input comes from the terminal
data | Global data structure |