Skip to content

Latest commit

 

History

History
102 lines (91 loc) · 1.48 KB

README.md

File metadata and controls

102 lines (91 loc) · 1.48 KB

42 libft Project

This is a basic C library devloped with the 42 libft subject and updated through other 42 projects.

It contains basic functions to create and manipulate mostly strings.

Installation

This project should compile a library under Mac OS and Unix:

git clone https://github.com/Alphacharge/mylibft.git
cd mylibft
make

Content

It contains following functions.

From libft:

  • ft_isalnum

  • ft_isalpha

  • ft_isascii

  • ft_isdigit

  • ft_isprint

  • ft_toupper

  • ft_tolower

  • ft_strlen

  • ft_atoi

  • ft_atol

  • ft_strncmp

  • ft_strlcpy

  • ft_strlcat

  • ft_strchr

  • ft_strrchr

  • ft_strnstr

  • ft_memcmp

  • ft_bzero

  • ft_memcpy

  • ft_memmove

  • ft_memset

  • ft_memchr

  • ft_strdup

  • ft_calloc

  • ft_substrn

  • ft_strjoin

  • ft_strtrim

  • ft_itoa

  • ft_ltoa

  • ft_split

  • ft_wordcount

  • ft_strmapi

  • ft_striteri

  • ft_putchar_fd

  • ft_putstr_fd

  • ft_putendl_fd

  • ft_putnbr_fd

  • ft_lstnew

  • ft_lstadd_front

  • ft_lstsize

  • ft_lstlast

  • ft_lstadd_back

  • ft_lstdelone

  • ft_lstiter

  • ft_lstmap

  • ft_lstclear

From printf:

  • ft_printf
  • ft_loop_format
  • ft_flaghandling
  • ft_hex
  • ft_counthex
  • ft_litoa
  • ft_putchar_fd_l
  • ft_putstr_fd_l

From getnextline:

  • get_next_line
  • freeme
  • ft_posinset
  • hack_and_stack
  • read_and_join
  • ft_strjoin_ns

From push_swap:

  • ft_strisdigit
  • ft_strstr
  • ft_strreplace

From pipex:

  • ft_first_word

From minishell:

  • ft_arraycount
  • ft_last_word
  • ft_strcmp
  • multijoin
  • ft_multijoin_array
  • ft_free_multiple
  • ft_free_array
  • ft_close_and_neg
  • ft_close_pipe_fds