This project aims to write it's own library: a collection of functions this will be used in the course of other projects.
- ft_atoi - convert strings to integers
- ft_bzero - write zeroes to a byte string
- ft_calloc - memory allocation
- ft_isalnum - checks whether the characters are numbers
- ft_isalpha - checks if the characters are letters
- ft_isascii - checks if the characters belong to the ASCII table
- ft_isdigit - checks if the character is decimal digit
- ft_isprint - checks any print character
- ft_memchr - locate byte in byte string
- ft_memcmp - compare byte string
- ft_memcpy - copy memory area
- ft_memmove - copy byte string
- ft_memset - write a byte to a byte string
- ft_tolower - convert uppercase letters to lowercase
- ft_toupper - convert lowercase letters to uppercase
- ft_strchr - locate character in string (first occurrence)
- ft_strdup - save a copy of a string (with malloc)
- ft_strlcat - size-bounded string concatenation
- ft_strlcpy - size-bounded string copying
- ft_strlen - find length of string
- ft_strrchr - locate character in string (last occurence)
- ft_strncmp - compare strings (size-bounded)
- ft_strnstr - locate a substring in a string (size-bounded)
- ft_itoa - convert integer to ASCII string
- ft_split - split string, with specified character as delimiter, into an array of strings
- ft_putchar_fd - output a character to given file
- ft_putendl_fd - output string to given file with newline
- ft_putnbr_fd - output integer to given file
- ft_putstr_fd - output string to given file
- ft_striteri - applies the 'f' function to each character of the passed string as an argument
- ft_strjoin - concatenate two strings into a new string (with malloc)
- ft_strmapi - create new string from modifying string with specified function
- ft_substr - extract substring from string
- ft_strtrim - trim beginning and end of string with the specified characters
- ft_lstadd_back - add new element at end of list
- ft_lstadd_front - add new element at beginning of list
- ft_lstclear - delete sequence of elements of list from a starting point
- ft_lstdelone - delete element from list
- ft_lstiter - apply function to content of all list's elements
- ft_lstlast - find last element of list
- ft_lstmap - apply function to content of all list's elements into new list
- ft_lstnew - create new list
- ft_lstsize - count elements of a list
The library is written in C language and thus needs the -cc compiler and some standard C libraries to run.
Instruction
-
Compiling the library
$ make $ make bonus
Third-party testers used in the project