libft is a C language library that provides a collection of custom implementations of standard C library functions. The library is designed to be portable, efficient, and easy to use.
The libft library includes implementations of several standard C library functions, as well as additional custom functions. Some of the standard C library functions that are included are:
- memset: fills memory with a constant byte
- memcpy: copies memory from one location to another
- memcmp: compares two blocks of memory
- strlen: computes the length of a string
- strdup: duplicates a string
In addition to the standard C library functions, the libft library includes several custom functions, such as:
- ft_strjoin: concatenates two strings into a new string
- ft_strtrim: trims whitespace from the beginning and end of a string
- ft_lstnew: creates a new linked list node
- ft_lstadd_front: adds a new node to the beginning of a linked list
- ft_lstsize: counts the number of nodes in a linked list
The libft library also includes additional data structures and utility functions that can be useful in C programming.
Overall, the libft library is a useful tool for C programmers who want to extend the functionality of the standard C library with their own custom implementations.