purge ancien files et mise a jour libftH

This commit is contained in:
Hugo LAMY
2019-11-25 15:46:21 +01:00
parent b6e9b9e5e6
commit 96c7ce814e
182 changed files with 239 additions and 2718 deletions

View File

@@ -6,28 +6,28 @@
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 13:57:19 by hulamy #+# #+# */
/* Updated: 2019/11/25 13:57:22 by hulamy ### ########.fr */
/* Updated: 2019/11/25 14:28:12 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
/*
/*
** copy size - 1 length of src into dest,
** terminate it with a '\0'
** and return size of src
*/
*/
/*
/*
** #include <libc.h>
**
**
** size_t ft_strlcpy(char *dest, const char *src, size_t size);
**
**
** int main(int argc, char **argv)
** {
** char str[100];
** int i;
** unsigned int u;
** unsigned int v;
**
**
** i = atoi(argv[3]);
** strcpy(str, argv[2]);
** if (argc > 3)
@@ -43,7 +43,7 @@
** }
** return (0);
** }
*/
*/
size_t ft_strlcpy(char *dest, const char *src, size_t size)
{