Libft is the first project of the school 42.
The instructions were given in the subject.
-
ft_isalpha
- test for alphabetic character. -
ft_isdigit
- test for decimal-digit character. -
ft_isalnum
- test for alphanumeric character. -
ft_isascii
- test for ASCII character. -
ft_isprint
- test for printing character. -
ft_strlen
- find length of 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
- string copying (with size limit). -
ft_strlcat
- string concatenation (with size limit). -
ft_toupper
- lower case to upper case letter conversion. -
ft_tolower
- upper case to lower case letter conversion. -
ft_strchr
- locate character in string (first occurrence). -
ft_strrchr
- locate character in string (last occurence). -
ft_strncmp
- compare strings (with size limit). -
ft_memchr
- locate byte in byte string. -
ft_memcmp
- compare byte string. -
ft_strnstr
- locate a substring in a string (with size limit). -
ft_atoi
- convert ASCII string to integer. -
ft_calloc
- memory allocation. -
ft_strdup
- save a copy of a string (with malloc).
ft_substr
- extract substring from string.ft_strjoin
- concatenate two strings into a new string (with malloc).ft_strtrim
- trim beginning and end of 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 new string from modifying string with specified function (with malloc).ft_striteri
- modifies a string passed as an argument with specified function.ft_putchar_fd
- output a character to given file.ft_putstr_fd
- output string to given file.ft_putendl_fd
- output string to given file with newline.ft_putnbr_fd
- output integer to given file.
ft_lstnew
- create new list.ft_lstsize
- count elements of a list.ft_lstlast
- find last element of list.ft_lstadd_back
- add new element at end of list.ft_lstadd_front
- add new element at beginning of list.ft_lstdelone
- delete element from list.ft_lstclear
- delete sequence of elements of list from a starting point.ft_lstiter
- apply function to content of all list's elements.ft_lstmap
- apply function to content of all list's elements into new list.