tgrekov-libft
HIVE libft Oct 2023
Loading...
Searching...
No Matches
ft_isalnum.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_isalnum.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2023/10/23 13:29:39 by tgrekov #+# #+# */
9
/* Updated: 2023/11/06 13:36:53 by tgrekov ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
20
#include "
libft.h
"
21
29
int
ft_isalnum
(
int
c)
30
{
31
return
(
ft_isalpha
(c) ||
ft_isdigit
(c));
32
}
ft_isalnum
int ft_isalnum(int c)
Is c an alphanumeric character.
Definition
ft_isalnum.c:29
ft_isalpha
int ft_isalpha(int c)
Is c an alphabetical character.
Definition
ft_isalpha.c:27
ft_isdigit
int ft_isdigit(int c)
Is c a numeric character.
Definition
ft_isdigit.c:26
libft.h
ft_isalnum.c