GitHunt
YO

YOPll/LIBFT

My own LibC functions

LIBFT

ft_printf 100/100
125/100

Libft is an individual project at 1337 that requires us to re-create some standard C library functions including some additional ones that can be used later to build a library of useful functions for the rest of the program.

Disclaimer: Reinventing the wheel is bad, 1337 makes us do this just so we can have a deeper understanding of data structures and basic algorithms. At 1337 we're not allowed to use some standard libraries on our projects, so we have to keep growing this library with our own functions as we go farther in the program.

See the subjects for further information

SUBJECT

What's in it?

Part 1

  • ft_memset
  • ft_bzero
  • ft_memcpy
  • ft_memccpy
  • 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
  • ft_calloc
  • ft_strdup

Part 2

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

Bonus Part

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

Languages

C97.9%Makefile2.1%

Contributors

Created November 19, 2021
Updated May 3, 2023