|
maxishell
Implementation of a shell for Linux-like systems
|
#include "shell.h"#include <fcntl.h>#include "libft.h"#include "tokens.h"#include "exit_status.h"
Go to the source code of this file.
Functions | |
| int | open_file (t_ast *node, char *direction) |
| open file in the context of redirection | |
| int | open_tmp_file (const char *type) |
| int open_file | ( | t_ast * | node, |
| char * | direction | ||
| ) |
open file in the context of redirection
-- "<" - read
| node | current node in the AST |
| direction | type of redirection |
Definition at line 34 of file utils.c.
References s_ast::args, and ft_strcmp().
Referenced by open_and_redirect(), open_and_redirect(), and setup_redirection().


| int open_tmp_file | ( | const char * | type | ) |
Definition at line 52 of file utils.c.
References ft_perror(), and ft_strcmp().
Referenced by redirect_here_doc().

