Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft

First 42 Project about creating a library.

MANDATORY

Function Description Done
ft_isalpha Alphabetic character test.
ft_isdigit Decimal-digit character test.
ft_isalnum Alphanumeric character test.
ft_isascii Test for ASCII character.
ft_isprint Check if the character is printable.
ft_strlen Find the length of the string.
ft_memset Write a byte to a byte string.
ft_bzero Write zeroes to a byte string.
ft_memcpy Copy memory area.
ft_memmove Copy byte string.
ft_strlcpy Size-bounded string copying.
ft_strlcat Size-bounded string concatenation.
ft_toupper Lower case to upper case letter conversion.
ft_tolower Upper case to lower case letter cisprintonversion.
ft_strchr Locate the character in the string (first occurrence).
ft_strrchr Locate the character in the string (last occurrence).
ft_strncmp Compare strings (size-bounded).
ft_memchr Locate byte in byte string.
ft_memcmp Compare byte string.
ft_strnstr Locate a substring in a string (size-bounded)
ft_atoi Convert the ASCII string to an integer.
ft_calloc Memory allocation (with malloc).
ft_strdup Save a copy of a string (with malloc).

ADDITIONAL

Function Description Done
ft_substr Extract substring from a string.
ft_strjoin Concatenate two strings into a new string (with malloc).
ft_strtrim Trim the beginning and end of the string with the specified characters.
ft_split Split string, with specified character as delimiter, into an array of strings.
ft_itoa Convert integer to ASCII string.
ft_strmapi Create a new string by modifying the string with a specified function.
ft_striteri Iterates through a string, enabling character and index manipulation.
ft_putchar_fd Output a character to the given file.
ft_putstr_fd Output string to the given file.
ft_putendl_fd Output string to given file with newline.
ft_putnbr_fd Output integer to the given file.

BONUS

Function Description Done
ft_lstnew Create new list.
ft_lstadd_front Add a new element at the beginning of the list.
ft_lstadd_back Add a new element at the end of the list.
ft_lstsize Count elements of a list.
ft_lstlast Find the last element of the list.
ft_lstdelone Delete element from the list.
ft_lstclear Delete the sequence of elements of the list from a starting point.
ft_lstiter Apply function to the content of all list elements.
ft_lstmap Apply function to the content of all list elements into a new list.

About

First 42 Project about creating a library.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages