Files
GridEscape/get_next_line/get_next_line.h
T
HexPloR 4dfc0cd7ec oui
2024-06-24 00:02:52 +02:00

33 lines
1.3 KiB
C
Executable File

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hexplor <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/20 14:34:57 by hexplor #+# #+# */
/* Updated: 2023/12/26 15:07:02 by hexplor ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <fcntl.h>
# include <unistd.h>
# include <stdlib.h>
# include <stdio.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
char *get_next_line(int fd);
char *gnl_strjoin(char *s1, char *s2);
char *gnl_strchr(char *s, int c);
size_t gnl_strlen(char *s);
#endif
//mettre la librairie en static pour ne pas avoir de probleme de compilation