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 13:38:05 by kcolin #+# #+# */
/* Updated: 2024/10/15 13:42:29 by kcolin ### ########.fr */
/* Updated: 2024/10/15 14:40:24 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void *ft_memcpy(void *dst, const void *src, t_size len)
void *ft_memcpy(void *dest, const void *src, t_size n)
{
t_size i;
i = 0;
while (i < len)
while (i < n)
{
((char *)dst)[i] = ((char *)src)[i];
((char *)dest)[i] = ((char *)src)[i];
i++;
}
return (dst);
return (dest);
}