So long...

This commit is contained in:
Angel Ortigosa Perez
2025-09-07 09:58:53 +02:00
commit 805edbf130
87 changed files with 11865 additions and 0 deletions

31
get_next_line/get_next_line.h Executable file
View File

@@ -0,0 +1,31 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 12:07:56 by aortigos #+# #+# */
/* Updated: 2025/02/15 09:56:03 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1
# endif
# include <stdlib.h>
# include <fcntl.h>
# include <unistd.h>
char *get_next_line(int fd);
size_t ft_strlen(const char *s);
void *ft_calloc(size_t n, size_t size);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strchr(const char *s, int c);
void ft_bzero(void *s, size_t n);
#endif