This project has been created as part of the 42 curriculum by npillet.
The goal of this project is to create a C library that will be used for future projects.
The bonus consists of coding "nb" additional functions.
To compile this code, this command must be used:
makeTo add the bonuses:
make bonusThere are two ways to test the functions:
- either one by one with:
cc -Wall -Werror -Wextra <function_name>.c libft.a- or using a main testing each of them at the same time:
cc -Wall -Werror -Wextra libft_main.c libft.a| Function | Function |
|---|---|
ft_isalpha |
ft_toupper |
ft_isdigit |
ft_tolower |
ft_isalnum |
ft_atoi |
ft_isascii |
ft_itoa |
ft_isprint |
| Function | Function |
|---|---|
ft_strlen |
ft_strdup |
ft_strlcpy |
ft_substr |
ft_strcat |
ft_strjoin |
ft_strchr |
ft_strtrim |
ft_strrchr |
ft_split |
ft_strncmp |
ft_strmapi |
ft_strnstr |
ft_striteri |
| Function | Function |
|---|---|
ft_memset |
ft_memchr |
ft_bzero |
ft_memcmp |
ft_memcpy |
ft_calloc |
ft_memmove |
| Function |
|---|
ft_putchar_fd |
ft_putstr_fd |
ft_putendl_fd |
ft_putnbr_fd |
| Function | Function |
|---|---|
ft_lstnew |
ft_lstdelone |
ft_lstadd_front |
ft_lstclear |
ft_lstsize |
ft_lstiter |
ft_lstlast |
ft_lstmap |
ft_lstadd_back |