From 217bcb0d4e3ba60604921cb40d5a11a64f93cfc7 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 15 Jul 2019 10:20:37 +0200 Subject: c08 strdup malloc + 1 for \0, c09 begin --- c09/ex01/includes/ft.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 c09/ex01/includes/ft.h (limited to 'c09/ex01/includes/ft.h') diff --git a/c09/ex01/includes/ft.h b/c09/ex01/includes/ft.h new file mode 100644 index 0000000..e044fdd --- /dev/null +++ b/c09/ex01/includes/ft.h @@ -0,0 +1,22 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/07/15 08:52:33 by cacharle #+# #+# */ +/* Updated: 2019/07/15 09:12:41 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef FT_H +# define FT_H + +void ft_putchar(char c); +void ft_swap(int *a, int *b); +void ft_putstr(char *str); +int ft_strlen(char *str); +int ft_strcmp(char *s1, char *s2); + +#endif -- cgit