diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-03 00:29:26 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-03 00:29:26 +0200 |
| commit | 948c0953527fe3bef28904b38a16a9e4342e7e98 (patch) | |
| tree | c597c973db524519d21ce9c2d115ab276ad48669 /include | |
| parent | a2452f88fffffe4e2a278578de5ac961858a5b72 (diff) | |
| download | libft-948c0953527fe3bef28904b38a16a9e4342e7e98.tar.gz libft-948c0953527fe3bef28904b38a16a9e4342e7e98.tar.bz2 libft-948c0953527fe3bef28904b38a16a9e4342e7e98.zip | |
Added ft_fnmatch function
Diffstat (limited to 'include')
| -rw-r--r-- | include/libft_str.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/libft_str.h b/include/libft_str.h index ea6115d..1b0703f 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/28 12:09:56 by cacharle ### ########.fr */ +/* Updated: 2020/04/02 23:45:42 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,6 +14,7 @@ # define LIBFT_STR_H # include <stddef.h> +# include <stdbool.h> # include "libft_ctype.h" typedef enum @@ -75,6 +76,12 @@ char *ft_strtolower(char *s); char *ft_strtoupper(char *s); /* +** glob +*/ + +bool ft_fnmatch(const char *pattern, const char *string); + +/* ** bloat ? */ |
