diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-10 04:33:35 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-10 04:33:35 +0100 |
| commit | 8e3c9342ce7e4932c4a59c0823af63d19ade8046 (patch) | |
| tree | 79ec970d0e794fc4d1bde5c0c87909627dd455c7 /include | |
| parent | fc457992114e71989e5cdeab452bc054a400a397 (diff) | |
| download | libft-8e3c9342ce7e4932c4a59c0823af63d19ade8046.tar.gz libft-8e3c9342ce7e4932c4a59c0823af63d19ade8046.tar.bz2 libft-8e3c9342ce7e4932c4a59c0823af63d19ade8046.zip | |
Added ft_strspn, ft_strcspn
Diffstat (limited to 'include')
| -rw-r--r-- | include/libft_str.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libft_str.h b/include/libft_str.h index ba0b203..80fb09f 100644 --- a/include/libft_str.h +++ b/include/libft_str.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:39:22 by cacharle #+# #+# */ -/* Updated: 2020/02/10 04:23:06 by cacharle ### ########.fr */ +/* Updated: 2020/02/10 04:32:44 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -53,8 +53,10 @@ int ft_strcount(char *str, char c); char *ft_itoa(int n); int ft_strict_atoi(const char *s); long ft_strtol(const char *s, char **endptr, int base); -int strcasecmp(const char *s1, const char *s2); -int strncasecmp(const char *s1, const char *s2, size_t n); +int ft_strcasecmp(const char *s1, const char *s2); +int ft_strncasecmp(const char *s1, const char *s2, size_t n); +size_t ft_strspn(const char *s, const char *charset); +size_t ft_strcspn(const char *s, const char *charset); /* ** bloat ? |
