docs: adding documentation on my libft

This commit is contained in:
Raphael 2024-10-31 18:17:43 +01:00
parent c947e43e51
commit 83cc8419a0
47 changed files with 624 additions and 44 deletions

View file

@ -6,12 +6,21 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:50:29 by rparodi #+# #+# */
/* Updated: 2023/11/07 18:58:02 by rparodi ### ########.fr */
/* Updated: 2024/10/31 17:56:59 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/**
* @brief Fills a block of memory with a specified byte
*
* @param s Pointer to the memory area to fill
* @param c Byte value to be set in the memory
* @param n Number of bytes to be set to the value c
*
* @return A pointer to the memory area s
*/
void *ft_memset(void *s, int c, size_t n)
{
char *str;