This project is the first at 42 School, focusing on learning how standard functions work by coding them from scratch and creating our own library. Libft will be used in many future projects at 42 School.
125%
make
will compile mandatory functions.
make bonus
will compile bonus functions.
The functions will be designed to handle character, string, and memory manipulation tasks. Each of these functions will be thoroughly tested using automated tests to ensure their accuracy and reliability.
These are character manipulation functions from <ctype.h>, used for tasks like checking types and converting cases.
- ft_isalpha
- ft_isdigit
- ft_isalnum
- ft_isascii
- ft_isprint
- ft_toupper
- ft_tolower
These are functions for manipulating strings, from <string.h>. They perform various operations such as copying, concatenating, comparing, and searching within strings.
- ft_strlen
- ft_strlcpy
- ft_strlcat
- ft_strchr
- ft_strrchr
- ft_strncmp
- ft_strnstr
- ft_substr
- ft_strjoin
- ft_strtrim
- ft_split
- ft_strmapi
- ft_striteri
These are memory manipulation functions from <stdlib.h>, used for tasks such as allocating, deallocating, and managing memory.
- ft_calloc
- ft_memset
- ft_bzero
- ft_memcpy
- ft_memmove
- ft_memchr
- ft_memcmp
- ft_strdup
- ft_atoi
- ft_itoa
- ft_putchar_fd
- ft_putstr_fd
- ft_putendl_fd
- ft_putnbr_fd
The bonus part added an extra 25% to 100%. These functions are used for manipulating linked lists.
- ft_lstnew
- ft_lstadd_front
- ft_lstsize
- ft_lstlast
- ft_lstadd_back
- ft_lstdelone
- ft_lstclear
- ft_lstiter
- ft_lstmap