Skip to content

The 42 Libft project involves creating a custom C library by reimplementing standard C functions like strlen and malloc, along with additional utility functions for strings, memory, and linked lists.

Notifications You must be signed in to change notification settings

HoudaChairi/42_Libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42 Libft

Libft is a project completed during the 42 curriculum, where the goal is to recreate some of the standard C library functions, as well as additional utility functions.

Table of Contents

Introduction

The Libft project is the first project in the 42 curriculum, which aims to have students re-implement some of the standard C library functions, as well as a few other utility functions. This project is designed to help students better understand the inner workings of these functions and improve their programming skills.

Functions

The Libft library includes the following functions:

Part 1 - Libc Functions

  • ft_memset
  • ft_bzero
  • ft_memcpy
  • ft_memmove
  • ft_memchr
  • ft_memcmp
  • ft_strlen
  • ft_strlcpy
  • ft_strlcat
  • ft_strchr
  • ft_strrchr
  • ft_strnstr
  • ft_strncmp
  • ft_atoi
  • ft_isalpha
  • ft_isdigit
  • ft_isalnum
  • ft_isascii
  • ft_isprint
  • ft_toupper
  • ft_tolower

Part 2 - Additional Functions

  • ft_calloc
  • ft_strdup
  • ft_substr
  • ft_strjoin
  • ft_strtrim
  • ft_split
  • ft_itoa
  • ft_strmapi
  • ft_striteri
  • ft_putchar_fd
  • ft_putstr_fd
  • ft_putendl_fd
  • ft_putnbr_fd

Part 3 - Bonus Part

  • ft_lst
  • ft_lstadd

Usage

To use the Libft library in your project, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/HoudaChairi/42_Libft.git
  1. Compile the library:
make

About

The 42 Libft project involves creating a custom C library by reimplementing standard C functions like strlen and malloc, along with additional utility functions for strings, memory, and linked lists.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published