Commit 744e473 1 parent d51883b commit 744e473 Copy full SHA for 744e473
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 6
6
/* By: pchung <[email protected] > +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2025/03/09 03:36:43 by pchung #+# #+# */
9
- /* Updated: 2025/03/09 03:47:51 by pchung ### ########.fr */
9
+ /* Updated: 2025/03/09 03:58:39 by pchung ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
34
34
# define NOTSIG 1
35
35
# define RSTSIG 0
36
36
# define SHELL_BUF_SIZE 8192
37
- #define SIGINT_ 42
37
+ # define SIGINT_ 42
38
38
39
39
extern volatile sig_atomic_t g_signal_received ;
40
40
@@ -101,7 +101,8 @@ int is_parent_builtin(t_cmd *cmd);
101
101
// FREE FUNCTIONS
102
102
void free_ast (t_ast * ast );
103
103
void free_cmd (t_cmd * cmd );
104
- void free_command_group (t_command_group * command_group );
104
+ void free_command_group (
105
+ t_command_group * command_group );
105
106
void free_redir (void * ptr );
106
107
void free_argv (char * * argv );
107
108
void free_paths (char * * paths );
@@ -118,7 +119,8 @@ int shell_echo(char **args);
118
119
int shell_exit (char * * argv );
119
120
120
121
// TERMINAL SETTINGS
121
- void reset_terminal_settings (const struct termios * old_termios );
122
+ void reset_terminal_settings (
123
+ const struct termios * old_termios );
122
124
void setup_terminal (struct termios * old_termios );
123
125
void term_clear_screen (void );
124
126
You can’t perform that action at this time.
0 commit comments