31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* get_next_line.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: pblagoje <pblagoje@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2021/01/27 12:43:50 by pblagoje #+# #+# */
|
|
/* Updated: 2022/04/18 17:01:22 by pblagoje ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef GET_NEXT_LINE_H
|
|
# define GET_NEXT_LINE_H
|
|
# define BUFFER_SIZE 100
|
|
|
|
# include <unistd.h>
|
|
# include <stdlib.h>
|
|
# include <stdio.h>
|
|
|
|
int get_next_line(int fd, char **line);
|
|
int ft_strlen_gnl(char *s);
|
|
char *ft_strchr_gnl(char *s, int c);
|
|
char *ft_strjoin_gnl(char *s1, char *s2);
|
|
char *ft_strtrim_gnl(char *s);
|
|
int ft_is_newline(char *s, int c);
|
|
char *ft_strcpy(char *s1, char *s2);
|
|
void ft_free_gnl(char **s);
|
|
|
|
#endif
|