update: normed ast
This commit is contained in:
parent
0c81df4b0a
commit
d36fea0c95
13 changed files with 368 additions and 337 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/02 13:22:14 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/09/11 17:59:17 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/09/13 15:29:25 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static void sig_print_trace(int _idk)
|
||||
void sig_print_trace(int _idk)
|
||||
{
|
||||
(void)(_idk);
|
||||
print_trace();
|
||||
|
|
@ -33,6 +33,5 @@ t_error install_signal(void)
|
|||
return (ERROR);
|
||||
if (sigaction(SIGQUIT, &data, NULL))
|
||||
return (ERROR);
|
||||
signal(SIGUSR1, sig_print_trace);
|
||||
return (NO_ERROR);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue