Conanyedo / Libft

My own C library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libft

Libft is a 42 school project. The purpose of this project is to create our own C library.

Libc functions

  • memset
  • memcpy
  • memccpy
  • memmove
  • memchr
  • memcmp
  • strlen
  • strlcpy
  • strlcat
  • strchr
  • strrchr
  • strnstr
  • strncmp
  • atoi
  • isalpha
  • isdigit
  • isalnum
  • isascii
  • isprint
  • toupper
  • tolower
  • calloc
  • strdup

Additional functions

  • ft_substr
  • ft_strjoin
  • ft_strtrim
  • ft_split
  • 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

Usage

  • git clone the repository.
  • cd into the directory and run make.
  • make bonus for the bonus part.
  • create a main.c file and include Libft.h to test the functions.
gcc main.c libft.a

About

My own C library


Languages

Language:C 96.4%Language:Makefile 3.6%