CO-CODE Hugo-Luke
+ last_exit_status set/get functions for here_doc + TODO : replace all occurences of last_exit_status + **environ fix + builtin_unset() fix
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
|
||||
/* Updated: 2021/11/24 18:38:11 by hulamy ### ########.fr */
|
||||
/* Updated: 2021/11/26 19:04:25 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
int switch_heredoc_sigint;
|
||||
|
||||
// Init
|
||||
int init(t_all *c, char *envp[]);
|
||||
int init(t_all *c);
|
||||
char **retrieve_path(char *envp[]);
|
||||
int set_terminal_attributes(struct termios *ori_termios,
|
||||
struct termios *interactive_termios,
|
||||
@@ -91,4 +91,8 @@ char *ft_strdup_quotes(const char *s);
|
||||
void sigint_handler_interactive(int signum);
|
||||
void sigint_handler_heredoc(int signum);
|
||||
|
||||
// last_exit_status
|
||||
int set_last_exit_status(int new_value);
|
||||
int get_last_exit_status(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user