feat: added string struct in libft.h
This commit is contained in:
parent
8c933384bb
commit
a7b7cda496
1 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,12 @@
|
||||||
|
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
|
|
||||||
|
typedef struct s_string
|
||||||
|
{
|
||||||
|
size_t len;
|
||||||
|
char *data;
|
||||||
|
} t_string;
|
||||||
|
|
||||||
int ft_strcmp(const char *s1, const char *s2);
|
int ft_strcmp(const char *s1, const char *s2);
|
||||||
size_t ft_strlen(const char *s);
|
size_t ft_strlen(const char *s);
|
||||||
int ft_putstr(const char *s);
|
int ft_putstr(const char *s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue