mirror of
https://github.com/LucasCodeur/alcu.git
synced 2026-04-28 17:44:34 +02:00
30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* get_next_line.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: lud-adam <lud-adam@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/12/18 10:46:55 by lud-adam #+# #+# */
|
|
/* Updated: 2026/03/28 14:53:44 by lud-adam ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef GET_NEXT_LINE_H
|
|
# define GET_NEXT_LINE_H
|
|
|
|
# include <stdlib.h>
|
|
# include <stddef.h>
|
|
# include <fcntl.h>
|
|
# include <unistd.h>
|
|
|
|
# ifndef BUFFER_SIZE
|
|
# define BUFFER_SIZE 1024
|
|
# endif
|
|
|
|
void ft_strcpy(char *src, char *dest);
|
|
char *build_line(char *src, char *c_remaining, size_t *index);
|
|
char *get_next_line(int fd);
|
|
|
|
#endif
|