From 5b653ccffdc33c8774697a93cad0b499b88dca71 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 28 Jul 2019 21:12:28 +0200 Subject: std library function almost done, tested with libft-unit-tests --- ft_isalnum.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ft_isalnum.c (limited to 'ft_isalnum.c') diff --git a/ft_isalnum.c b/ft_isalnum.c new file mode 100644 index 0000000..d98da91 --- /dev/null +++ b/ft_isalnum.c @@ -0,0 +1,6 @@ +#include "libft.h" + +int ft_isalnum(int c) +{ + return (ft_isalpha(c) || ft_isdigit(c)); +} -- cgit