A custom C library that replicates standard C library functions and includes additional utility functions.
Libft is a project developed as part of the curriculum at 1337 School.
It involves recreating standard library functions like strlen
, strcpy
, and others, while also implementing utility functions for string manipulation, linked lists, and memory management.
The purpose of this project is to strengthen understanding of C programming fundamentals and prepare students for more advanced coding challenges.
-
Part 1: Libc Functions
- Reimplementation of standard C library functions, such as:
ft_strlen
ft_strcpy
ft_memset
ft_memcpy
- Reimplementation of standard C library functions, such as:
-
Part 2: Additional Functions
- Useful helper functions not included in the standard C library, like:
ft_substr
ft_strjoin
ft_split
- Useful helper functions not included in the standard C library, like:
-
Part 3: Bonus Part
- Functions to handle linked lists:
ft_lstnew
ft_lstadd_front
ft_lstclear
- Functions to handle linked lists:
To compile and use Libft, you need:
- GCC or any C compiler.
- Make utility.
- Clone the repository:
git clone https://github.com/ma1loc/libft.git cd libft