ft_substr: initial implementation
This commit is contained in:
parent
a20611c09a
commit
7d896b939c
3 changed files with 44 additions and 3 deletions
3
libft.h
3
libft.h
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/15 10:11:54 by kcolin #+# #+# */
|
||||
/* Updated: 2024/10/17 11:03:30 by kcolin ### ########.fr */
|
||||
/* Updated: 2024/10/17 11:40:51 by kcolin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -47,5 +47,6 @@ int ft_atoi(const char *nptr);
|
|||
void *ft_calloc(size_t nmemb, size_t size);
|
||||
|
||||
char *ft_strdup(const char *s);
|
||||
char *ft_substr(char const *s, unsigned int start, size_t len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue