This project is about coding a C library. It will contain a lot of general purpose functions your programs will rely upon.
Mandatory part:
The mandatory functions include standard C library functions and other useful utilities, primarily for character, string, and memory manipulation.
Character manipulation functions:
- ft_isalpha
- ft_isdigit
- ft_isalnum
- ft_isascii
- ft_isprint
- ft_toupper
- ft_tolower
String manipulation functions:
- ft_strlen
- ft_strlcpy
- ft_strlcat
- ft_strchr
- ft_strrchr
- ft_strncmp
- ft_strnstr
- ft_substr
- ft_strjoin
- ft_strtrim
- ft_split
- ft_strmapi
- ft_striteri
Memory manipulation functions:
- ft_calloc
- ft_memset
- ft_bzero
- ft_memcpy
- ft_memmove
- ft_memchr
- ft_memcmp
- ft_strdup
String/integer conversion functions:
- ft_atoi
- ft_itoa
File descriptor writing functions:
- ft_putchar_fd
- ft_putstr_fd
- ft_putendl_fd
- ft_putnbr_fd
Bonus part:
Linked list manipulation functions:
- ft_lstnew
- ft_lstadd_front
- ft_lstsize
- ft_lstlast
- ft_lstadd_back
- ft_lstdelone
- ft_lstclear
- ft_lstiter
- ft_lstmap
To compile, navigate to the project directory and run:
makeThis will create a static library (.a file) that can be linked with other programs.