-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint_error.c
22 lines (20 loc) · 1.06 KB
/
print_error.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aouchaad <aouchaad@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/20 08:26:15 by aouchaad #+# #+# */
/* Updated: 2023/06/22 15:21:56 by aouchaad ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
void print_error(char *s1, char *s2)
{
ft_putstr_fd("minishell: ", 2);
ft_putstr_fd(s1, 2);
ft_putstr_fd(": ", 2);
ft_putstr_fd(s2, 2);
ft_putstr_fd("\n", 2);
}