tgrekov-ft_printf
HIVE printf Feb 2024
Loading...
Searching...
No Matches
ft_memset.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memset.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/23 13:43:01 by tgrekov #+# #+# */
/* Updated: 2023/11/06 15:37:00 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file ft_memset.c.

#include "libft.h"
Include dependency graph for ft_memset.c:

Go to the source code of this file.

Functions

void * ft_memset (void *b, int c, size_t len)
 Fills len bytes of byte string b with value c.
 

Function Documentation

◆ ft_memset()

void * ft_memset ( void *  b,
int  c,
size_t  len 
)

Fills len bytes of byte string b with value c.

Parameters
[in,out]bPointer to start of byte string
[in]cInteger representation of value to write (cast to unsigned char)
[in]lenNumber of bytes to write
Return values
void*b

Definition at line 31 of file ft_memset.c.