Working on ft_strtrim()
This commit is contained in:
parent
59cb1ccc1c
commit
998010436e
4 changed files with 56 additions and 9 deletions
|
|
@ -6,11 +6,10 @@
|
|||
/* By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/10/06 20:46:15 by lalgarra #+# #+# */
|
||||
/* Updated: 2025/10/07 18:00:51 by lalgarra ### ########.fr */
|
||||
/* Updated: 2025/10/08 20:55:13 by lalgarra ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
#include "libft.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
@ -103,7 +102,7 @@ static void do_test6(char *prefix, char big[], char littl[])
|
|||
zero(big, littl);
|
||||
size = 20;
|
||||
memcpy(littl, "e\x00g", 3);
|
||||
memcpy(big, "is there\x00 a nyacat ?",20);
|
||||
memcpy(big, "is there\x00 a nyacat ?", 20);
|
||||
test(prefix, big, littl, size);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue