make -C ${LIBFTDIR}/
-L ${LIBFTDIR}/ -l ft
-I ${LIBFTDIR}/includes/
function | prototype |
---|---|
ft_isalpha | int ft_isalpha(int c); |
ft_isalnum | int ft_isalnum(int c); |
ft_isascii | int ft_isascii(int c); |
ft_isdigit | int ft_isdigit(int c); |
ft_isprint | int ft_isprint(int c); |
ft_tolower | int ft_toupper(int c); |
ft_toupper | int ft_tolower(int c); |
function | prototype |
---|---|
ft_memset | void *ft_memset(void *s, int c, size_t n); |
ft_bzero | void ft_bzero(void *s, size_t n); |
ft_memcpy | void *ft_memcpy(void *dest, const void *src, size_t n); |
ft_mempcpy | void *ft_mempcpy(void *dest, const void *src, size_t n); |
ft_memmove | void *ft_memmove(void *dest, const void *src, size_t n); |
ft_memchr | void *ft_memchr(const void *s, int c, size_t n); |
ft_memcmp | int ft_memcmp(const void *s1, const void *s2, size_t n); |
ft_calloc | void *ft_calloc(size_t nmemb, size_t size); |
ft_nfree | void ft_nfree(void **ptr); |
ft_memdump | void ft_memdump(void *ptr, size_t len); |
function | prototype |
---|---|
ft_atoi | int ft_atoi(const char *nptr); |
ft_atol | long ft_atol(const char *nptr); |
ft_maxf | float ft_maxf(float n1, float n2); |
ft_minf | float ft_minf(float n1, float n2); |
ft_absf | float ft_absf(float n); |
ft_abs | int ft_abs(int n); |
ft_min | int ft_min(int n1, int n2); |
ft_max | int ft_max(int n1, int n2); |
function | prototype |
---|---|
ft_strlen | size_t ft_strlen(const char *s); |
ft_strlcpy | size_t ft_strlcpy(char *dst, const char *src, size_t size); |
ft_strlcat | size_t ft_strlcat(char *dst, const char *src, size_t size); |
ft_strchr | char *ft_strchr(const char *s, int c); |
ft_strrchr | char *ft_strrchr(const char *s, int c); |
ft_strncmp | int ft_strncmp(const char *s1, const char *s2, size_t n); |
ft_strnstr | char *ft_strnstr(const char *big, const char *little, size_t len); |
ft_strdup | char *ft_strdup(const char *s); |
ft_substr | char *ft_substr(const char *s, unsigned int start, size_t len); |
ft_strjoin | char *ft_strjoin(char const *s1, char const *s2); |
ft_strtrim | char *ft_strtrim(char const *s1, char const *set); |
ft_strmapi | char *ft_strmapi(char const *s, char (*f)(unsigned int, char)); |
ft_striteri | void ft_striteri(char *s, void (f)(unsigned int, char)); |
ft_split | char **ft_split(char const *s, char c); |
ft_itoa | char *ft_itoa(int n); |
t_strncpy | void ft_strncpy(char *dest, const char *src, size_t n); |
ft_stpcpy | char *ft_stpcpy(char *dest, const char *src); |
ft_strcpy | char *ft_strcpy(char *dest, const char *src); |
ft_strisnumber | int ft_strisnumber(const char *s); |
ft_strsfree | void ft_strsfree(char **str); |
ft_strsjoin | char *ft_strsjoin(char **strs); |
ft_strsjoin_c | char *ft_strsjoin_c(char **strs, char sep); |
function | prototype |
---|---|
ft_putchar_fd | void ft_putchar_fd(char c, int fd); |
ft_putstr_fd | void ft_putstr_fd(char *s, int fd); |
ft_putendl_fd | void ft_putendl_fd(char *s, int fd); |
ft_putnbr_fd | void ft_putnbr_fd(int n, int fd); |
function | prototype |
---|---|
ft_printf | int ft_printf(const char *str, ...); |
ft_printchar | size_t ft_printchar(int c); |
ft_printstr | size_t ft_printstr(char *str); |
ft_printnbr | size_t ft_printnbr(long long lnbr); |
ft_printxnbr | size_t ft_printxnbr(unsigned long long lnbr, char *xset); |
ft_printptr | size_t ft_printptr(unsigned long long llnbr); |
function | prototype |
---|---|
ft_lstnew | t_list *ft_lstnew(void *content); |
ft_lstadd_front | void ft_lstadd_front(t_list **lst, t_list *new); |
ft_lstsize | int ft_lstsize(t_list *lst); |
ft_lstlast | t_list *ft_lstlast(t_list *lst); |
ft_lstadd_back | void ft_lstadd_back(t_list **lst, t_list *new); |
ft_lstdelone | void ft_lstdelone(t_list *lst, void (*del)(void *)); |
ft_lstclear | void ft_lstclear(t_list **lst, void (*del)(void *)); |
ft_lstiter | void ft_lstiter(t_list *lst, void (*f)(void *)); |
ft_lstmap | t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *)); |
ft_lstpop | void *ft_lstpop(t_list **lst); |
ft_lstpush | int ft_lstpush(t_list **lst, void *data); |
ft_lstshift | void *ft_lstshift(t_list **lst); |
ft_lstunshift | int ft_lstunshift(t_list **lst, void *data); |
function | prototype |
---|---|
get_next_line | char *get_next_line(int fd); |
function | prototype |
---|---|
ft_arr_clear | char *ft_arr_clear(t_array *array, void (*del)(void *)); |
ft_arr_resize | int ft_arr_resize(t_array *array, size_t ncapacity); |
ft_arr_new | t_array *ft_arr_new(size_t capacity); |
ft_arr_free | void ft_arr_free(t_array **array, void (*del)(void *)); |
ft_arr_push | int ft_arr_push(t_array *array, void *elem); |
ft_arr_pop | void *ft_arr_pop(t_array *array); |
ft_arr_unshift | int ft_arr_unshift(t_array *array, void *elem); |
ft_arr_shift | void *ft_arr_shift(t_array *array); |
ft_arr_map | t_array *ft_arr_map(t_array *array, void *(*f)(void *), void (*del)(void *)); |
ft_arr_append | int ft_arr_append(t_array *arr, void *elem); |
function | prototype |
---|---|
ft_vec_init | int ft_vec_init(t_vector *vector, size_t elem_size); |
ft_vec_new | t_vector *ft_vec_new(size_t elem_size); |
ft_vec_append | int ft_vec_append(t_vector *vector, void *elem); |
ft_vec_resize | int ft_vec_resize(t_vector *vector, size_t ncapacity); |
ft_vec_clear | int ft_vec_clear(t_vector *vector); |
ft_vec_get | int ft_vec_get(t_vector *vector, size_t index, void *out); |
ft_vec_destroy | void ft_vec_destroy(t_vector *vector); |
ft_vec_free | void ft_vec_free(t_vector **vector); |