Skip to content
neomikusPublic

About

Reimplementation of 42 LibC standard functions

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Libft 📚

Libft is a custom C static-linked library developed at 42 School, featuring reimplementations of standard functions and additional utilities.

📒 Function List 📒

Full function list and description

✅ Features ✅

  • POSIX Compliant - Should run in any Unix like system (originally made for MacOS)
  • Feature rich - Not only contains LibC standard function not available in all systems (for example all the functions with l in Linux like strlcpy) but also list management functions and additional features (like split)
  • Easy to read - Easily readable, clean code using the internal 42's Norminette code etiquette
  • Memory safe - Does not contain leaks and does not crash (unless the original LibC function crashes too)

🛠️ Compilation and usage 🛠️

Build

Clone the repository
git clone https://github.com/princess-mikus/42-Libft.git libft

And then call the Makefile inside it to create the .a file

make -C libft

Usage

First include the header
#include "libft.h"

and then don't forget to compile against the library

gcc *your files* libft/libft.a -Ilibft

About

Reimplementation of 42 LibC standard functions

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages