BebAlix / libft

Create my own C library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libft

Make a my own libc with this fonction :

  1. implement function who exist in libc :

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

  1. implement function who's not exist in libc:

• 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

  1. bonus, implement function for linked list : • ft_lstnew • ft_lstadd_front • ft_lstsize • ft_lstlast • ft_lstadd_back • ft_lstdelone • ft_lstclear • ft_lstiter • ft_lstmap

I add two other project in the libft with this functions :

• get_next_line

• ft_printf

How to use

  • compile and create the lib.a :

     $ make
  • Remove all:

     $ make fclean

About

Create my own C library


Languages

Language:C 97.9%Language:Makefile 2.1%