-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalnum.c
More file actions
22 lines (19 loc) · 1.03 KB
/
ft_isalnum.c
File metadata and controls
22 lines (19 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isalnum.c :+: :+: */
/* +:+ */
/* By: farodrig <farodrig@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/27 11:06:36 by farodrig #+# #+# */
/* Updated: 2020/12/12 18:46:27 by farodrig ######## odam.nl */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** Tests for any character for which isalpha(3) or isdigit(3) is true.
*/
int ft_isalnum(int c)
{
return (ft_isalpha(c) || ft_isdigit(c));
}