Welcome to the Libft repository! This custom library is my implementation of several standard C library functions, as well as some additional ones. This project is part of the 42 Madrid cursus. ๐ ๐
/Libft
.
โโโ Makefile
โโโ ft_atoi.c
โโโ ft_bzero.c
โโโ ft_calloc.c
โโโ ft_isalnum.c
โโโ ft_isalpha.c
โโโ ft_isascii.c
โโโ ft_isdigit.c
โโโ ft_isprint.c
โโโ ft_itoa.c
โโโ ft_lstadd_back_bonus.c
โโโ ft_lstadd_front_bonus.c
โโโ ft_lstclear_bonus.c
โโโ ft_lstdelone_bonus.c
โโโ ft_lstiter_bonus.c
โโโ ft_lstlast_bonus.c
โโโ ft_lstnew_bonus.c
โโโ ft_lstsize_bonus.c
โโโ ft_memchr.c
โโโ ft_memcmp.c
โโโ ft_memcpy.c
โโโ ft_memmove.c
โโโ ft_memset.c
โโโ ft_putchar_fd.c
โโโ ft_putendl_fd.c
โโโ ft_putnbr_fd.c
โโโ ft_putstr_fd.c
โโโ ft_split.c
โโโ ft_strchr.c
โโโ ft_strdup.c
โโโ ft_striteri.c
โโโ ft_strjoin.c
โโโ ft_strlcat.c
โโโ ft_strlcpy.c
โโโ ft_strlen.c
โโโ ft_strmapi.c
โโโ ft_strncmp.c
โโโ ft_strnstr.c
โโโ ft_strrchr.c
โโโ ft_strtrim.c
โโโ ft_substr.c
โโโ ft_tolower.c
โโโ ft_toupper.c
โโโ libft.h
- Run
make
to compile the library. - Include
libft.h
in the project to use the library functions.
This custom library includes the following functions:
- Memory manipulation:
ft_memset
,ft_bzero
,ft_memcpy
,ft_memccpy
,ft_memmove
,ft_memchr
,ft_memcmp
- String manipulation:
ft_strlen
,ft_strlcpy
,ft_strlcat
,ft_strchr
,ft_strrchr
,ft_strnstr
,ft_strncmp
,ft_strdup
- Character checks:
ft_isalpha
,ft_isdigit
,ft_isalnum
,ft_isascii
,ft_isprint
,ft_toupper
,ft_tolower
- String conversion:
ft_atoi
,ft_itoa
- String manipulation (additional):
ft_substr
,ft_strjoin
,ft_strtrim
,ft_split
,ft_strmapi
,ft_striteri
- File descriptor manipulation:
ft_putchar_fd
,ft_putstr_fd
,ft_putendl_fd
,ft_putnbr_fd
- Bonus linked list functions:
ft_lstnew
,ft_lstadd_front
,ft_lstsize
,ft_lstlast
,ft_lstadd_back
,ft_lstdelone
,ft_lstclear
,ft_lstiter
,ft_lstmap
I added some useful functions to the library after the first commits. For example a Printf implementation i've made.
Please note that this is my implementation of the Libft functions. I have uploaded this project to store my work and to share it with my fellow students for educational purposes. This is not an official solution or an endorsement of any kind.