docs(memory): moving the actual documentation on the header

- The documentation on the header allow u to see on the files where the
header is inclued
This commit is contained in:
Raphael 2025-09-05 16:29:40 +02:00
parent 3cadabea0a
commit ed64bd73d6
No known key found for this signature in database
8 changed files with 75 additions and 69 deletions

View file

@ -6,19 +6,13 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:47:17 by rparodi #+# #+# */
/* Updated: 2025/09/01 18:28:34 by rparodi ### ########.fr */
/* Updated: 2025/09/05 16:25:35 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "memory.h"
#include <stdlib.h>
/**
* @brief Allocates and zeroes memory for an array
*
* @param nmemb Number of elements to allocate
* @param size Size of each element in bytes
*/
void *ft_calloc(size_t nmemb, size_t size)
{
size_t total;