-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathin_length_modifiers.c
More file actions
24 lines (22 loc) · 1.1 KB
/
in_length_modifiers.c
File metadata and controls
24 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* in_length_modifiers.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hiroshiusui <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/31 02:37:50 by hiroshius #+# #+# */
/* Updated: 2018/01/31 02:37:50 by hiroshius ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
bool in_length_modifiers(char **length_modifiers, char *length_modifier)
{
while (*length_modifiers)
{
if (ft_strstr(*length_modifiers, length_modifier))
return (1);
length_modifiers++;
}
return (0);
}