aboutsummaryrefslogtreecommitdiff
path: root/include/ft_ctype.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-17 10:56:16 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-17 10:56:16 +0100
commitfe37597119353ce183fc404417b81bd4702f64b7 (patch)
treefaa20a8352092c062e2fd272fff2104d9f2ddb3f /include/ft_ctype.h
parent2e5ca2ab6276b7b24895ade28e1533356ef523dc (diff)
downloadlibft-fe37597119353ce183fc404417b81bd4702f64b7.tar.gz
libft-fe37597119353ce183fc404417b81bd4702f64b7.tar.bz2
libft-fe37597119353ce183fc404417b81bd4702f64b7.zip
Splited include like src/, Adding feature toggle protection in header
Diffstat (limited to 'include/ft_ctype.h')
-rw-r--r--include/ft_ctype.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/ft_ctype.h b/include/ft_ctype.h
new file mode 100644
index 0000000..44e88b8
--- /dev/null
+++ b/include/ft_ctype.h
@@ -0,0 +1,35 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_ctype.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/17 09:59:10 by cacharle #+# #+# */
+/* Updated: 2020/01/17 10:00:13 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef FT_CTYPE_H
+# define FT_CTYPE_H
+
+/*
+** assertion
+*/
+
+int ft_isalpha(int c);
+int ft_isdigit(int c);
+int ft_isalnum(int c);
+int ft_isascii(int c);
+int ft_isprint(int c);
+int ft_isspace(int c);
+
+/*
+** conversion
+*/
+
+int ft_toupper(int c);
+int ft_tolower(int c);
+int ft_todigit(int c);
+
+#endif