#include "file.h"
#include "garbage.h"
#include "exec.h"
#include "ft_printf.h"
#include "get_next_line.h"
#include "minishell.h"
#include <readline/readline.h>
#include <stdlib.h>
#include <fcntl.h>
Functions | |
char * | read_heredoc (t_tmp *tmp, char *delimitor) |
Read from stdin and outputs to a file, stops reading when Ctrl+D or when a delimitor is found. | |
int | fill_heredocs (t_garbage *garbage, t_command *command) |
Fill all the heredocs in the correct order. | |