summaryrefslogtreecommitdiff
path: root/libft/ft_bzero.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/ft_bzero.c')
-rw-r--r--libft/ft_bzero.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libft/ft_bzero.c b/libft/ft_bzero.c
new file mode 100644
index 0000000..f5320e7
--- /dev/null
+++ b/libft/ft_bzero.c
@@ -0,0 +1,18 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_bzero.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: kdx <kdx @student.42angouleme.fr +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2022/09/27 04:18:59 by kdx #+# #+# */
+/* Updated: 2022/09/27 05:15:01 by kdx ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft.h"
+
+void ft_bzero(void *s, size_t n)
+{
+ ft_memset(s, 0, n);
+}