-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strsub.c
executable file
·18 lines (16 loc) · 1.01 KB
/
ft_strsub.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strsub.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/05/19 10:43:11 by akharrou #+# #+# */
/* Updated: 2019/05/19 19:42:05 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include "../Includes/string_42.h"
char *ft_strsub(char const *s, unsigned int start, size_t len)
{
return (ft_strndup(s + start, len));
}