-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathft_isalnum.c
More file actions
20 lines (19 loc) · 1.02 KB
/
ft_isalnum.c
File metadata and controls
20 lines (19 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mimeyer <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/05/19 11:49:34 by mimeyer #+# #+# */
/* Updated: 2019/05/20 15:55:31 by mimeyer ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalnum(int ch)
{
if (((ch > 64) && (ch < 91)) || ((ch > 96) && (ch < 123)) || ((ch > 47)
&& (ch < 58)))
return (1);
else
return (0);
}