maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_bzero.c File Reference
#include "libft.h"
Include dependency graph for ft_bzero.c:

Go to the source code of this file.

Functions

void ft_bzero (void *s, size_t n)
 

Function Documentation

◆ ft_bzero()

void ft_bzero ( void *  s,
size_t  n 
)

Definition at line 21 of file ft_bzero.c.

22{
23 char *p;
24
25 p = s;
26 while (n--)
27 *p++ = '\0';
28}