jwon42 / 42cursus_01_Libft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“” Libft

πŸ“„ Program name

  • libft.a

πŸ“„ Turn in files

  • *.c, libft.h, Makefile

πŸ“„ Description

  • Write your own library, containing an extract of important functions for your cursus.
  • You are free to add any function to your libft as you see fit.

πŸ“„ Functions List

  • Part 1 - Libc functions

    memset, bzero, memcpy, memccpy, memmove, memchr, memcmp,
    strlen, strlcpy, strlcat, strchr, strrchr, strnstr, strncmp,
    atoi, isalpha, isdigit, isalnum, isascii, isprint, toupper, tolower,
    calloc, strdup
    
  • Part 2 - Additional functions (~100)

    substr, strjoin, strtrim, split, itoa, strmapi,
    putchar_fd, putstr_fd, putendl_fd, putnbr_fd
    
  • Bonus Part (~115)

    lstnew, lstadd_front, lstsize, lstlast,
    lstadd_back, lstdelone, lstclear, lstiter, lstmap
    
  • My own functions

    • get_next_line

      int get_next_line(int fd, char **line);

      Write a function which returns a line read from a file descriptor, without the newline.

    • isspace

      int ft_isspace(int c);

      Checks for white-space characters. (" ", \f, \n, \r, \t, \v)

    • chrdel

      char *ft_chrdel(char const *s, char c);

      Remove all specific characters(c) from a string(s).


πŸ”— Test Tools Links

About


Languages

Language:C 96.4%Language:Makefile 3.6%