-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strnew.c
19 lines (17 loc) · 998 Bytes
/
ft_strnew.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strnew.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: thakala <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/10 17:59:09 by thakala #+# #+# */
/* Updated: 2021/12/16 20:22:48 by thakala ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <stdlib.h>
char *ft_strnew(size_t size)
{
return (ft_memalloc(size + 1));
}