libft is the very first project of the 42 cursus.
This project is about coding a C library that will contain a lot of useful functions that your future programs will rely upon.
- Run
make
to compile the library. - You can then link it like any other library in you projects.
There's two way of cleaning :
- Simple clean that will only remove the object files :
make clean
- Full clean that will remove object files as well as the library :
make fclean
Documentation with Doxygen will come at a later point in each file directly
In this version of the libft, I added some functions that could be used at one point or another.
Here's the full list of available functions:
- ft_atoi
- ft_atol
- ft_bzero
- ft_calloc
- ft_isalnum
- ft_isalpha
- ft_isascii
- ft_isdigit
- ft_isprint
- ft_itoa
- ft_lstadd_back
- ft_lstadd_front
- ft_lstclear
- ft_lstdelone
- ft_lstiter
- ft_lstlast
- ft_lstmap
- ft_lstnew
- ft_lstsize
- ft_memccpy
- ft_memcpy
- ft_memchr
- ft_memcmp
- ft_memmove
- ft_memset
- ft_pow
- ft_print_c
- ft_print_d
- ft_print_p
- ft_print_s
- ft_print_u
- ft_print_x
- ft_printf
- ft_putchar_fd
- ft_putchar
- ft_putendl_fd
- ft_putendl
- ft_putnbr_fd
- ft_putnbr
- ft_putstr_fd
- ft_putstr
- ft_split
- ft_strcat
- ft_strchr
- ft_strcmp
- ft_strcpy
- ft_strdup
- ft_strisdigit
- ft_striteri
- ft_strjoin
- ft_strlcat
- ft_strlcpy
- ft_strlen
- ft_strmapi
- ft_strncat
- ft_strncmp
- ft_strncpy
- ft_strnlen
- ft_strnstr
- ft_strrchr
- ft_strstr
- ft_strtrim
- ft_substr
- ft_tolower
- ft_toupper
- get_next_line