-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibft.h
More file actions
35 lines (19 loc) · 647 Bytes
/
libft.h
File metadata and controls
35 lines (19 loc) · 647 Bytes
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
#ifndef LIBFT_H
#define LIBFT_H
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
char *ft_strdup(const char *s);
void free_matc(char **matc);
size_t ft_strlen(const char *s);
void print_matc(char **matc);
int ft_strncmp(const char *s1, const char *s2, size_t len);
void ft_strcpy(char *dst, const char *str);
void ft_strcat(char *dst, const char *str);
char **ft_split(char *s, char c);
int ft_matlen(char **mat);
void free_3dim_matc(char ***matc);
int ft_strchr(const char *str, int chr);
char *ft_strnstr(const char *haystack, const char *needle, size_t len);
char *ft_strjoin_free_n(char *s1, const char *s2);
#endif