A library of utilities, including a rewritten and expanded libft, an optimized ft_printf, and get_next_line. The library is usable in a 42 project, meaning it's hand-written, doesn't call any forbidden functions, and respects the 42 coding norm.
(For the libft project, refers to https://github.com/cclaude42/old_libft)
Using make will create the libft.a binary.
To include the library in your project, clone the repository in your working tree and compile with the following flags :
gcc -L. -lft file.c
This section lists the functions callable from the library. For the prototypes, refer to the headers.
get_next_line
ft_printf
ft_chrcountft_chrindexft_isalnumft_isalphaft_isasciift_isdigitft_isprintft_isspaceft_isspacenl
ft_baselenft_hexlenft_nbrlenft_power
ft_bzeroft_callocft_memccpyft_memchrft_memcmpft_memcpyft_memdelft_memmoveft_memset
ft_putcharft_putchar_fdft_putendlft_putendl_fdft_putnbrft_putnbr_fdft_putstrft_putstr_fd
ft_skip_charft_skip_charsft_skip_spaceft_skip_spacenl
ft_splitft_strchrft_strcmpft_strdupft_strjoinft_strlcatft_strlcpyft_strlenft_strmapift_strncmpft_strnstrft_strrchrft_strtrimft_substr
ft_atoift_itoaft_tolowerft_toupper
ft_lstadd_backft_lstadd_frontft_lstclearft_lstdeloneft_lstiterft_lstlastft_lstmapft_lstnewft_lstsize