Files
42-LibUnit/libft/ft_bzero.c
Erwann Lagouche 677028dcbb Prettier output and some fixes (#4)
* feat: tab results

* feat: more colors

* style: norm

* fix: patch a spacing bug

* fix: patch a small issue

* fix: patch some leaks

* style: norm
2026-01-25 18:20:20 +01:00

24 lines
1016 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/05 11:41:08 by dgaillet #+# #+# */
/* Updated: 2025/11/12 13:54:13 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_bzero(void *s, size_t n)
{
while (n > 0)
{
*((unsigned char *)s) = '\0';
s++;
n--;
}
}