This project is a personal, enhanced version of the 42 school's libft. It reimplements key standard C library functions while introducing new utilities and features designed to support a wide range of C projects β from basic parsing to more complex memory and list manipulations.
The goal is to provide a solid foundation that can be reused across multiple 42 and personal projects, with ongoing improvements and additions.
- Full reimplementation of standard libc functions using only allowed functions
- Bonus utility functions for memory, strings, and character processing
- Linked list manipulation support (
t_listand related helpers) - Modular, norm-compliant, and easy to maintain
- Ready to plug into 42 projects
- Continuously updated with new utilities and helper functions
To compile the library:
makeThis will generate the libft.a static library file.
- Include the main header in your C file:
#include "libft.h"- Link the library during compilation:
gcc your_code.c -L. -lft- Use any of available functions
make β compiles the library
make clean β removes object files
make fclean β removes object files and the compiled library
make re β cleans and rebuilds the library
Created and maintained by Martin Justa as part of the 42 school curriculum.