Skip to content

Akyria13/libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft

📚 Description

Libft is the first project at 42 that introduces the concept of creating a personal library in C. This library includes a collection of commonly used functions from the standard C library (and a few additional ones) that will be used in many future projects.

By building Libft, you will gain a deeper understanding of memory management, pointers, and efficient implementation of fundamental algorithms.


🚀 Features

Libft implements the following categories of functions :

1. Part 1 : Standard C Functions

Functions from <string.h>, <ctype.h>, and <stdlib.h> :

  • String operations :
    • ft_strlen, ft_strlcpy, ft_strlcat, ft_strchr, ft_strrchr, ft_strncmp, ft_strdup, ft_substr, ft_strjoin, ft_strtrim, ft_split.
  • Character checks/conversions :
    • ft_isalpha, ft_isdigit, ft_isalnum, ft_isascii, ft_isprint, ft_toupper, ft_tolower.
  • Memory manipulation :
    • ft_memset, ft_bzero, ft_memcpy, ft_memmove, ft_memchr, ft_memcmp.
  • Number conversion :
    • ft_atoi.

2. Part 2 : Additional Functions

Useful utility functions :

  • ft_calloc, ft_itoa, ft_putchar_fd, ft_putstr_fd, ft_putendl_fd, ft_putnbr_fd.

3. Bonus : Linked List Utilities

Functions to manipulate linked lists :

  • ft_lstnew, ft_lstadd_front, ft_lstadd_back, ft_lstdelone, ft_lstclear, ft_lstiter, ft_lstmap.

Releases

No releases published

Packages

No packages published