correct different arg names in linux and bsd man pages

This commit is contained in:
Khaïs COLIN 2024-10-15 14:44:11 +02:00
parent b86949e284
commit 29fbed55a3
5 changed files with 31 additions and 30 deletions

View file

@ -6,21 +6,21 @@
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/15 10:46:44 by kcolin #+# #+# */
/* Updated: 2024/10/15 10:58:03 by kcolin ### ########.fr */
/* Updated: 2024/10/15 14:42:49 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void *ft_memset(void *dest, int c, t_size len)
void *ft_memset(void *s, int c, t_size n)
{
t_size i;
i = 0;
while (i < len)
while (i < n)
{
*((unsigned char *)dest + i) = (unsigned char)c;
*((unsigned char *)s + i) = (unsigned char)c;
i++;
}
return (dest);
return (s);
}