53void *
ft_calloc(
size_t count,
size_t size);
183void *
ft_memchr(
const void *s,
int c,
size_t n);
195int ft_memcmp(
const void *s1,
const void *s2,
size_t n);
205void *
ft_memcpy(
void *dst,
const void *src,
size_t n);
215void *
ft_memmove(
void *dst,
const void *src,
size_t len);
263char **
ft_split(
char const *s,
char c);
288void ft_striteri(
char *s,
void (*
f)(
unsigned int,
char*));
297char *
ft_strjoin(
char const *s1,
char const *s2);
308size_t ft_strlcat(
char *dst,
const char *src,
size_t dstsize);
319size_t ft_strlcpy(
char *dst,
const char *src,
size_t dstsize);
340char *
ft_strmapi(
char const *s,
char (*
f)(
unsigned int,
char));
352int ft_strncmp(
const char *s1,
const char *s2,
size_t n);
364char *
ft_strnstr(
const char *haystack,
const char *needle,
size_t len);
385char *
ft_strtrim(
char const *s1,
char const *set);
396char *
ft_substr(
char const *s,
unsigned int start,
size_t len);
char * ft_ulongtohex(unsigned long n)
Unsigned long to lowercase hexadesimal string.
int ft_memcmp(const void *s1, const void *s2, size_t n)
Memory compare.
size_t ft_strlcpy(char *dst, const char *src, size_t dstsize)
Copies string to destination.
void ft_lstiter(t_list *lst, void(*f)(void *))
Iterate list.
char * ft_strdup(const char *s1)
Duplicates a string.
int ft_isdigit(int c)
Check if char is digit.
char * ft_strrchr(const char *s, int c)
Search a character starting from the end.
void ft_bzero(void *s, size_t n)
Zero a byte string.
void * ft_memcpy(void *dst, const void *src, size_t n)
Copies memory to destination.
char * ft_strtrim(char const *s1, char const *set)
Trim start and end of a string.
void ft_lstadd_front(t_list **lst, t_list *node)
List add front.
void ft_putnbr_fd(int n, int fd)
Writes number to file.
char * ft_strmapi(char const *s, char(*f)(unsigned int, char))
Create a copy of a string passing each char through a function.
void ft_lstclear(t_list **lst, void(*del)(void *))
Clear list.
size_t ft_strlcat(char *dst, const char *src, size_t dstsize)
Adds string to end of a string.
void ft_lstadd_back(t_list **lst, t_list *node)
List add back.
char * ft_substr(char const *s, unsigned int start, size_t len)
Gets a piece of string out of a string.
t_list * ft_lstmap(t_list *lst, void *(*f)(void *), void(*del)(void *))
List map.
char * ft_itoa(int n)
Integer to ASCII.
void ft_putchar_fd(char c, int fd)
Writes char to file.
t_list * ft_lstnew(void *content)
Create a new node.
char * ft_strjoin(char const *s1, char const *s2)
Joins two strings together.
int ft_isalnum(int c)
Is an alphabet or a number.
char * ft_ltoa(long n)
Long to ASCII.
int ft_strncmp(const char *s1, const char *s2, size_t n)
String compare.
int ft_lstsize(t_list *lst)
Size of a list.
char ** ft_split(char const *s, char c)
Splits string to substrings.
char * ft_strchr(const char *s, int c)
Search a character.
void * ft_memset(void *b, int c, int len)
Fill memory area with a contant byte.
int ft_tolower(int c)
Changes char to lowercase.
size_t ft_strlen(const char *s)
Length of the string.
int ft_isprint(int c)
Check if char is printable.
int ft_isascii(int c)
Check if char is ASCII.
void * ft_memchr(const void *s, int c, size_t n)
Scan memory for a character.
int ft_isalpha(int c)
Check if char is alphabet.
void ft_lstdelone(t_list *lst, void(*del)(void *))
Delete node.
void * ft_memmove(void *dst, const void *src, size_t len)
Copy memory area.
void ft_putstr_fd(char *s, int fd)
Writes string to file.
void ft_striteri(char *s, void(*f)(unsigned int, char *))
Calls a function for each char of a string.
char * ft_strnstr(const char *haystack, const char *needle, size_t len)
Search string from string.
void * ft_calloc(size_t count, size_t size)
Allocate and zero.
void ft_putendl_fd(char *s, int fd)
Writes new line to file.
t_list * ft_lstlast(t_list *lst)
Last node in a list.
int ft_toupper(int c)
Changes char to uppercase.
int ft_atoi(const char *str)
ASCII to integer.