docs: Adding the doxygen on all my function
This commit is contained in:
parent
707e9a4177
commit
f5bcbeac3c
38 changed files with 342 additions and 43 deletions
|
|
@ -6,12 +6,24 @@
|
|||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/07 16:49:04 by rparodi #+# #+# */
|
||||
/* Updated: 2023/11/07 18:46:15 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/10/31 17:59:48 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
/**
|
||||
* @brief Compares two memory blocks
|
||||
*
|
||||
* @param s1 Pointer to the first memory area
|
||||
* @param s2 Pointer to the second memory area
|
||||
* @param n Number of bytes to compare
|
||||
*
|
||||
* @return An integer indicating the relationship between the two memory areas:
|
||||
* - `< 0` if `s1` is less than `s2`
|
||||
* - `0` if `s1` equals `s2`
|
||||
* - `> 0` if `s1` is greater than `s2`
|
||||
*/
|
||||
int ft_memcmp(const void *s1, const void *s2, size_t n)
|
||||
{
|
||||
size_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue