libft.a
*.c
,libft.h
,Makefile
- Write your own library, containing an extract of important functions for your cursus.
- You are free to add any function to your libft as you see fit.
-
Part 1 - Libc functions
memset, bzero, memcpy, memccpy, memmove, memchr, memcmp, strlen, strlcpy, strlcat, strchr, strrchr, strnstr, strncmp, atoi, isalpha, isdigit, isalnum, isascii, isprint, toupper, tolower, calloc, strdup
-
Part 2 - Additional functions (~100)
substr, strjoin, strtrim, split, itoa, strmapi, putchar_fd, putstr_fd, putendl_fd, putnbr_fd
-
Bonus Part (~115)
lstnew, lstadd_front, lstsize, lstlast, lstadd_back, lstdelone, lstclear, lstiter, lstmap
-
-
int get_next_line(int fd, char **line);
Write a function which returns a line read from a file descriptor, without the newline.
-
int ft_isspace(int c);
Checks for white-space characters. (
" "
,\f
,\n
,\r
,\t
,\v
) -
char *ft_chrdel(char const *s, char c);
Remove all specific characters(c) from a string(s).
-