-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_perror2.c
18 lines (16 loc) · 1003 Bytes
/
ft_perror2.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_perror2.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abenamar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/08/09 16:18:45 by abenamar #+# #+# */
/* Updated: 2023/09/10 13:35:52 by abenamar ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
int ft_perror2(char *s1, char *s2)
{
return (ft_pstderr3(s1, s2, strerror(errno)));
}