From a287db1124beda38507739f892c085bd3654ebd7 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 17 Jan 2020 19:34:53 +0100 Subject: Added libft --- libft/src/ft_bzero.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libft/src/ft_bzero.c (limited to 'libft/src/ft_bzero.c') diff --git a/libft/src/ft_bzero.c b/libft/src/ft_bzero.c new file mode 100644 index 0000000..1f09fbe --- /dev/null +++ b/libft/src/ft_bzero.c @@ -0,0 +1,21 @@ +/* ************************************************************************** */ +/* LE - / */ +/* / */ +/* ft_bzero.c .:: .:/ . .:: */ +/* +:+:+ +: +: +:+:+ */ +/* By: rbousset +:+ +: +: +:+ */ +/* #+# #+ #+ #+# */ +/* Created: 2019/10/08 14:04:55 by rbousset #+# ## ## #+# */ +/* Updated: 2019/10/13 08:45:28 by rbousset ### #+. /#+ ###.fr */ +/* / */ +/* / */ +/* ************************************************************************** */ + +#include +#include + +void + ft_bzero(void *s, size_t n) +{ + ft_memset(s, 0, n); +} -- cgit v1.2.3