The aim of this project is to code a C library regrouping usual functions including some additional ones that can be used later to build a library of useful functions for the rest of the program. For a deeper understanding of a project goals, take a look at this link.
The Project is divide in 3 sections:
- Libft Functions - Some of the standard C functions;
- Addicional Functions - Functions 42 deems will be useful for later projects;
- Bonus Functions - Functions 42 deems will be useful for linked list manipulation;
| Libft Functions | Addicional Functions | Bonus Functions |
|---|---|---|
| memset | ft_substr | ft_lstnew |
| bzero | ft_strjoin | ft_lstadd_front |
| memcpy | ft_strtrim | ft_lstsize |
| memccpy | ft_split | ft_lstlast |
| memmove | ft_itoa | ft_lstadd_back |
| memchr | ft_strmapi | ft_lstdelone |
| memcmp | ft_putchar_fd | ft_lstclear |
| strlen | ft_putstr_fd | ft_lstiter |
| strlcpy | ft_putendl_fd | ft_lstmap |
| strlcat | ft_putnbr_fd | |
| strchr | ||
| strdup | ||
| strrchr | ||
| strnstr | ||
| strncmp | ||
| atoi | ||
| isalpha | ||
| isdigit | ||
| isalnum | ||
| isascii | ||
| toupper | ||
| tolower | ||
| calloc |
This link has all the prototipes, returns and a quick documentation for the functions listed above. Check it out!
Feel free to download the project:
git clone https://github.com/wblech/libft.git
Include it in your C project:
#include "libft.h"
Compile libft.a:
make f
wblech - GitHub