Archived
1
0

started movement

This commit is contained in:
Adam Joly
2024-01-10 15:14:24 +01:00
parent ce760239b8
commit 904013801a
15 changed files with 50 additions and 28 deletions

View File

@ -6,7 +6,7 @@
# By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/01 11:03:22 by adjoly #+# #+# #
# Updated: 2024/01/08 14:31:46 by adjoly ### ########.fr #
# Updated: 2024/01/10 14:58:45 by adjoly ### ########.fr #
# #
# **************************************************************************** #

Binary file not shown.

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/01 17:12:00 by adjoly #+# #+# */
/* Updated: 2024/01/08 21:47:06 by adjoly ### ########.fr */
/* Updated: 2024/01/10 15:03:00 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -22,7 +22,7 @@
char *get_next_line(int fd);
char *ft_strjoin_gnl(char *s1, char *s2);
size_t ft_strlen_gnl(char *s);
size_t ft_strl_g(char *s);
void *ft_calloc_gnl(size_t nmemb, size_t size);
#endif

Binary file not shown.

View File

@ -6,13 +6,13 @@
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/01 17:12:02 by adjoly #+# #+# */
/* Updated: 2024/01/08 21:48:30 by adjoly ### ########.fr */
/* Updated: 2024/01/10 15:03:07 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "get_next_line.h"
size_t ft_strlen_gnl(char *s)
size_t ft_strl_g(char *s)
{
size_t i;
@ -32,7 +32,7 @@ char *ft_strjoin_gnl(char *s1, char *s2)
j = 0;
if (!s2)
return (NULL);
result = ft_calloc_gnl((ft_strlen_gnl(s1) + ft_strlen_gnl(s2) + 1), sizeof(char));
result = ft_calloc_gnl((ft_strl_g(s1) + ft_strl_g(s2) + 1), sizeof(char));
if (result == NULL)
return (NULL);
while (s1[i])

Binary file not shown.