libft
ft_isalnum.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_isalnum.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/05 00:15:45 by unite #+# #+# */
10 /* Updated: 2020/07/16 03:05:15 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 
20 int ft_isalnum(int c)
21 {
22  return (ft_isalpha(c) || ft_isdigit(c));
23 }
ft_isalnum
int ft_isalnum(int c)
Replicates behaviour of isalnum from libc.
Definition: ft_isalnum.c:20
ft_isdigit
int ft_isdigit(int c)
Replicates behaviour of isdigit from libc.
Definition: ft_isdigit.c:20
ft_isalpha
int ft_isalpha(int c)
Replicates behaviour of isalpha from libc.
Definition: ft_isalpha.c:20
libft.h