-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
39 lines (35 loc) · 1.63 KB
/
get_next_line.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: asfaihi <asfaihi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/29 14:07:54 by asfaihi #+# #+# */
/* Updated: 2021/06/14 16:20:37 by asfaihi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <fcntl.h>
# include <stdio.h>
# include <string.h>
# include <stdlib.h>
# include <unistd.h>
# define BUFFER_SIZE 1
int ft_isdigit(int c);
void ft_putnbr(long n);
void ft_putchar(char c);
void ft_putstr(char *s);
int ft_intsize(long nb);
size_t ft_strlen(const char *s);
int ft_atoi(const char *str);
char *ft_strdup(const char *s1);
char *ft_strchr(const char *s, int c);
int get_next_line(int fd, char **line);
void *ft_memcpy(void *dst, void *src, size_t n);
char *ft_strjoin(const char *s1, char const *s2);
int get_line(char **string, int n, char **line, int fd);
char *ft_substr(char const *s, unsigned int start, size_t len);
size_t ft_smallest(const char *s, unsigned int start, size_t len);
#endif