From 9c64c9d253fa22b29005ec53dca6fedcead2ae6c Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 12 Apr 2024 18:51:50 +0200 Subject: Add libft and input handling --- libft/ft_strdup.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libft/ft_strdup.c (limited to 'libft/ft_strdup.c') diff --git a/libft/ft_strdup.c b/libft/ft_strdup.c new file mode 100644 index 0000000..c7a6591 --- /dev/null +++ b/libft/ft_strdup.c @@ -0,0 +1,36 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_strdup.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser */ +/* int main() { */ +/* char *output; */ +/* char input[] = "test"; */ +/* output = ft_strdup(input); */ +/* printf("%s\n", output); */ +/* } */ -- cgit v1.2.3