mirror of
https://github.com/DavidGailleton/AdventOfCode-2025.git
synced 2026-01-27 07:21:59 +00:00
FIRST COMMIT
This commit is contained in:
28
get_next_char/get_next_char.h
Normal file
28
get_next_char/get_next_char.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* get_next_char.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/21 17:22:03 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/12/05 16:18:29 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef GET_NEXT_CHAR_H
|
||||
# define GET_NEXT_CHAR_H
|
||||
|
||||
# ifndef BUFFER_SIZE
|
||||
# define BUFFER_SIZE 42
|
||||
# endif
|
||||
|
||||
# include <stdlib.h>
|
||||
# include "libft.h"
|
||||
|
||||
char *get_next_char(int fd, char c);
|
||||
|
||||
char *ft_strjoin_new(char const *s1, char const *s2, size_t limit);
|
||||
int index_of_char(char *str, int limit, char c);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user