mirror of
https://github.com/LucasCodeur/alcu.git
synced 2026-04-28 17:44:34 +02:00
FEAT: add gnl makefile, have to fix check input
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* alcu.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: lud-adam <lud-adam@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/03/28 13:27:29 by lud-adam #+# #+# */
|
||||
/* Updated: 2026/03/28 13:29:45 by lud-adam ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef ALCU_H
|
||||
# define ALCU_H
|
||||
|
||||
char *read_file(int fd);
|
||||
int check_input(int fd);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,29 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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
|
||||
Reference in New Issue
Block a user