Subject As we are not allowed to use any standard c library and their functions in 42 school, this project is oriented to create our self-made function library, replicating some of the main functions for the standard libraries and some other utilities that will be useful for future projects
Mandatory functions
• memset • bzero • memcpy • memccpy • memmove • memchr • memcmp • strlen • strlcpy • strlcat • strchr • strrchr • strnstr • strncmp • atoi • isalpha • isdigit • isalnum • isascii • isprint • toupper • tolower
Mandatory functions with malloc
• calloc • strdup
Bonus part - Create a few introductory functions to linked list:
• ft_lstnew • ft_lstadd_front • ft_lstsize • ft_lstlast • ft_lstadd_back • ft_lstdelone • ft_lstclear • ft_lstiter • ft_lstmap
Standard library functions can't be used. We are able to use any function made by ourselves and included in ft_libft. We can use the functions write
, malloc
, free
& exit
The function must conform to 42's norm.