resolu calloc pour taille zero

This commit is contained in:
Hugo LAMY
2019-11-28 16:01:08 +01:00
parent 5da3edd07e
commit 365e8abb42
3 changed files with 34 additions and 27 deletions

View File

@@ -1,15 +1,3 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlcpy.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 13:57:19 by hulamy #+# #+# */
/* Updated: 2019/11/25 15:53:19 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** copy size - 1 length of src into dest,
** terminate it with a '\0'