This is a basic C library devloped with the 42 libft subject and updated through other 42 projects.
It contains basic functions to create and manipulate mostly strings.
This project should compile a library under Mac OS and Unix:
git clone https://github.com/Alphacharge/mylibft.git
cd mylibft
make
It contains following functions.
-
ft_isalnum
-
ft_isalpha
-
ft_isascii
-
ft_isdigit
-
ft_isprint
-
ft_toupper
-
ft_tolower
-
ft_strlen
-
ft_atoi
-
ft_atol
-
ft_strncmp
-
ft_strlcpy
-
ft_strlcat
-
ft_strchr
-
ft_strrchr
-
ft_strnstr
-
ft_memcmp
-
ft_bzero
-
ft_memcpy
-
ft_memmove
-
ft_memset
-
ft_memchr
-
ft_strdup
-
ft_calloc
-
ft_substrn
-
ft_strjoin
-
ft_strtrim
-
ft_itoa
-
ft_ltoa
-
ft_split
-
ft_wordcount
-
ft_strmapi
-
ft_striteri
-
ft_putchar_fd
-
ft_putstr_fd
-
ft_putendl_fd
-
ft_putnbr_fd
-
ft_lstnew
-
ft_lstadd_front
-
ft_lstsize
-
ft_lstlast
-
ft_lstadd_back
-
ft_lstdelone
-
ft_lstiter
-
ft_lstmap
-
ft_lstclear
- ft_printf
- ft_loop_format
- ft_flaghandling
- ft_hex
- ft_counthex
- ft_litoa
- ft_putchar_fd_l
- ft_putstr_fd_l
- get_next_line
- freeme
- ft_posinset
- hack_and_stack
- read_and_join
- ft_strjoin_ns
- ft_strisdigit
- ft_strstr
- ft_strreplace
- ft_first_word
- ft_arraycount
- ft_last_word
- ft_strcmp
- multijoin
- ft_multijoin_array
- ft_free_multiple
- ft_free_array
- ft_close_and_neg
- ft_close_pipe_fds