Skip to content

mfk-ayoub/42-libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Libft

This is the very first project in the 42Cursus and it aims to recode and reproduce the behavior of some pre-defined functions in C Standard Libs.
some of these functions are pre-defined in the standard C libs and others are not.

The Libft project consists of three part:

  • Mandatory Part 1
  • Mandatory Part 2
  • Bonus Part

In order to validate your project and have it accepted, you must at least do both of Mandatory Parts. (Bonus part is not that necessary but it gives extra XPs and days for The Blackhole).


Functions

Note: I haven't shared the PDF of this project, as well as, I haven't explained anything due to school privacy reasons!

stdlib.h

  • ft_atoi
  • ft_calloc
  • ft_itoa

string.h

  • ft_bzero
  • ft_strlen
  • ft_strlcpy
  • ft_strlcat
  • ft_strdup
  • ft_strchr
  • ft_strrchr
  • ft_strncmp
  • ft_strnstr
  • ft_memset
  • ft_memmove
  • ft_memcpy
  • ft_memcmp
  • ft_memchr

ctype.h

  • ft_isalnum
  • ft_isalpha
  • ft_isprint
  • ft_iascii
  • ft_digit
  • ft_tolower
  • ft_toupper

Other Functions

  • ft_lstadd_back
  • ft_lstadd_front
  • ft_lstnew
  • ft_lstsize
  • ft_lstlast
  • ft_lstdelone
  • ft_lstclear
  • ft_lstiter
  • ft_lstmap
  • ft_split
  • ft_strsub
  • ft_putchar_fd
  • ft_putstr_fd
  • ft_putendl_fd
  • ft_putnbr_fd
  • ft_strjoin
  • ft_strmapi
  • ft_striteri
  • ft_strmapi
  • ft_strtrim

Things you will learn in this project

Linked Lists

Memory Allocation and manipulation

String manipulation

Understanding how Memory works

File Descriptors

Makefile

Pointers in depth

About

ft_libft 42

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published