-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_check_string.c
20 lines (18 loc) · 1.01 KB
/
ft_check_string.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_check_string.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jovicto2 <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/22 22:55:58 by jovicto2 #+# #+# */
/* Updated: 2023/07/22 22:56:24 by jovicto2 ### ########.fr */
/* */
/* ************************************************************************** */
#include "../includes/libft.h"
char *ft_check_string(char *string)
{
if (!string)
string = NULL_STRING;
return (ft_strdup(string));
}