-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_error.c
More file actions
19 lines (17 loc) · 1 KB
/
ft_error.c
File metadata and controls
19 lines (17 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mamoussa <mamoussa@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/11 12:01:10 by mamoussa #+# #+# */
/* Updated: 2020/12/10 12:28:47 by mamoussa ### ########.fr */
/* */
/* ************************************************************************** */
#include "shell.h"
void ft_error(const char *error)
{
write(2, "bash: ", ft_strlen("bash: "));
write(2, error, ft_strlen(error));
}