maxishell
Implementation of a shell for Linux-like systems
|
#include "shell.h"
#include "tokens.h"
#include "redirection.h"
#include "execute.h"
#include <fcntl.h>
#include <sys/wait.h>
#include "signals.h"
Go to the source code of this file.
Functions | |
static char * | assemble_result (char **tokens, size_t result_len) |
char * | token_adj (char *arg) |
char * | finalize_token (char *tmp_token, char *orig_token) |
size_t | process_single_token (char **token, t_ms_data *data) |
size_t | process_tokens (char **tokens, t_ms_data *data) |
char * | process_and_reassemble (char *line, t_ms_data *data) |
|
static |
Definition at line 96 of file loc_env_var_handler_heredoc.c.
References ft_strcat().
Referenced by process_and_reassemble().
char * finalize_token | ( | char * | tmp_token, |
char * | orig_token | ||
) |
Definition at line 74 of file loc_env_var_handler_heredoc.c.
References ft_strdup(), new_token(), and token_adj().
Referenced by process_single_token().
char * process_and_reassemble | ( | char * | line, |
t_ms_data * | data | ||
) |
Definition at line 27 of file loc_env_var_handler_heredoc.c.
References assemble_result(), ft_free_2d_arr(), ft_split(), and process_tokens().
Referenced by redirect_here_doc().
size_t process_single_token | ( | char ** | token, |
t_ms_data * | data | ||
) |
Definition at line 58 of file loc_env_var_handler_heredoc.c.
References expand_variable(), finalize_token(), ft_strlen(), and new_token().
Referenced by process_tokens().
size_t process_tokens | ( | char ** | tokens, |
t_ms_data * | data | ||
) |
Definition at line 43 of file loc_env_var_handler_heredoc.c.
References process_single_token().
Referenced by process_and_reassemble().
char * token_adj | ( | char * | arg | ) |
Definition at line 21 of file loc_env_var_handler_heredoc_utils.c.
References ft_isdigit(), ft_strcat(), ft_strcpy(), ft_strdup(), and ft_strlen().
Referenced by finalize_token().