Skip to content

markveligod/libft

Repository files navigation

✅ Libft (project 2020)

Task

The main task is to write your own library of functions for further use in projects in C.
The Functions must be implemented in the same way as the original functions from the standard library.
However, all functions must be protected from entering invalid data, memory leaks, false segmentation, and so on.

List functions

Part 1 Part 2 Bonus
ft_memset ft_substr ft_lstnew
ft_bzero ft_strjoin ft_lstadd_front
ft_memcpy ft_strtrim ft_lstsize
ft_memccpy ft_split ft_lstlast
ft_memmove ft_itoa ft_lstadd_back
ft_memchr ft_strmapi ft_lstdelone
ft_memcmp ft_putchar_fd ft_lstclear
ft_strlen ft_putstr_fd ft_lstiter
ft_strlcpy ft_putendl_fd ft_lstmap
ft_strlcat ft_putnbr_fd
ft_strchr
ft_strrchr
ft_strnstr
ft_strncmp
ft_atoi
ft_isalpha
ft_isdigit
ft_isalnum
ft_isascii
ft_isprint
ft_toupper
ft_tolower
ft_calloc
ft_strdup

The results of the tests "Libftest"


Link to the tests: Click

The results of the tests "libft-unit-test"


Link to the tests: Click

Other

Basic commands for compilation:

make (make all) - compilation of 1 part and 2 part functions  
make bonus - compilation of 1 part, 2 part and bonus part functions  
make clean - clearing *.o files  
make fclean - clearing *. o files and libraries  

Author: Mark Veligod

Releases

No releases published

Packages

No packages published