ft_isalnum

This commit is contained in:
Tanguy MAZE
2018-04-04 12:05:52 +02:00
parent 030af8d89e
commit 98dede4297
2 changed files with 21 additions and 2 deletions

18
ft_isalnum.c Normal file
View File

@@ -0,0 +1,18 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 11:51:53 by tmaze #+# #+# */
/* Updated: 2018/04/04 12:00:08 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
return (ft_isalpha(c) || ft_isdigit(c));
}