/libft.h

The only C lib you'll ever need in 42, created by yourself

Primary LanguageCGNU Affero General Public License v3.0AGPL-3.0

libft.h

The only C lib you'll ever need in 42, created by yourself💪

The aim of this project is to code a C library regrouping usual functions that you’ll be allowed to use in all 42 other projects. Some of them are replicas of original funcitons found in libc, others are new-creation. It will be constantly expanded of and revised since it has a living nature. It will grow as future projects demand.

Inside of each function you will find a brief explanation of its functionality.

libc funtions

String and memory management
memset            memcpy
memccpy          memmove
memchr           memcmp
strlen           strlcpy
strlcat          strchr
strrchr          strnstr
strncmp          atoi
isalpha          isdigit
isalnum          isascii
isprint          toupper
tolower          calloc
strdup           bzero

Aditional functions

More string management
ft_substr
ft_strjoin
ft_strtrim
ft_split
ft_itoa
ft_strmapi
fd management
ft_putchar_fd
ft_putstr_fd
ft_putendl_fd
ft_putnbr_fd
Linked lists
ft_lstnew
ft_lstadd_front
ft_lstsize
ft_lstlast
ft_lstadd_back
ft_lstdelone
ft_lstclear
ft_lstiter
ft_lstmap

👤Autors Victor Dedios

📝License GPLv3.0