This commit is contained in:
Camille Chauvet
2023-01-10 19:04:46 +01:00
parent 195f7bc66a
commit 5deb78a5cf
825 changed files with 543864 additions and 117 deletions

BIN
libftx/extra/extra.a Normal file

Binary file not shown.

BIN
libftx/extra/ft_freer.o Normal file

Binary file not shown.

BIN
libftx/extra/ft_is_in.o Normal file

Binary file not shown.

Binary file not shown.

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/05 19:22:58 by cchauvet #+# #+# */
/* Updated: 2023/01/05 19:23:13 by cchauvet ### ########.fr */
/* Updated: 2023/01/10 18:30:35 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -25,4 +25,3 @@ ssize_t ft_strchri(char *str, char c)
return (-1);
return (i);
}

BIN
libftx/extra/ft_strchri.o Normal file

Binary file not shown.

BIN
libftx/extra/ft_strcmp.o Normal file

Binary file not shown.

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/04 14:06:04 by cchauvet #+# #+# */
/* Updated: 2023/01/09 17:46:11 by cchauvet ### ########.fr */
/* Updated: 2023/01/10 18:29:59 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,8 +14,8 @@
char *ft_strfjoin(char *s1, char *s2)
{
size_t i;
size_t y;
ssize_t i;
ssize_t y;
char *out;
out = ft_calloc((ft_strlen(s1) + ft_strlen(s2) + 1), sizeof(char));
@ -23,19 +23,19 @@ char *ft_strfjoin(char *s1, char *s2)
return (NULL);
i = 0;
if (s1 != NULL)
while (s1[i] != '\0')
{
{
i = -1;
while (s1[++i] != '\0')
out[i] = s1[i];
i++;
}
}
free(s1);
y = 0;
if (s2 != NULL)
while (s2[y] != '\0')
{
{
y = -1;
while (s2[++y] != '\0')
out[i + y] = s2[y];
y++;
}
}
free(s2);
out[i + y] = '\0';
return (out);

BIN
libftx/extra/ft_strfjoin.o Normal file

Binary file not shown.

BIN
libftx/extra/ft_strgen.o Normal file

Binary file not shown.

BIN
libftx/extra/ft_strmerger.o Normal file

Binary file not shown.

BIN
libftx/extra/ft_strndup.o Normal file

Binary file not shown.

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/05 18:58:48 by cchauvet #+# #+# */
/* Updated: 2023/01/09 17:45:44 by cchauvet ### ########.fr */
/* Updated: 2023/01/10 18:30:21 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -29,5 +29,3 @@ char **ft_tabrealloc(char **tab, size_t current_size, size_t new_size)
free(tab);
return (new);
}

Binary file not shown.