Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Libft

42 LIBFT

In this project you have to create your own library which you can use in future projects.


About the project

This library recreates of the standard C librry functions and introduce additional utility functions.

Allowed external functions

Functions
  • malloc <stdlib.h>
  • free <stdlib.h>
  • write <unistd.h>

Hand-in functions

Mandatory
  • atoi

  • bzero

  • isalnum

  • isalpha

  • isascii

  • isdigit

  • isprint

  • memchr

  • memcmp

  • memcpy

  • memmove

  • memset

  • strchr

  • strlcat

  • strlcpy

  • strlen

  • strncmp

  • strnstr

  • strrchr

  • tolower

  • toupper

  • strdup

  • calloc

Aditional functions:

  • 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
Bonus

As a bonus, it creates some new functions based on a struct to work as linked lists.

  • ft_lstnew
  • ft_lstadd_front
  • ft_lstadd_back
  • ft_lstsize
  • ft_lstlast
  • ft_lstdelone
  • ft_lstclear
  • ft_lstiter
  • ft_lstmap

Contact

If you have any questions feel free to reach out!

About

Create your own library of standard functions to use in future projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages