From 643e62d84e48dd27313a727d35372fd97fddf742 Mon Sep 17 00:00:00 2001 From: Tat Hoang Nguyen Date: Tue, 17 Dec 2024 18:32:24 +0100 Subject: [PATCH] libft-ext --- libft_ext/README.md | 65 ++++++++------------------------------------- 1 file changed, 11 insertions(+), 54 deletions(-) diff --git a/libft_ext/README.md b/libft_ext/README.md index 7ec9213..fff40d9 100644 --- a/libft_ext/README.md +++ b/libft_ext/README.md @@ -21,60 +21,17 @@ At 42 we're not allowed to use some standard libraries on our projects, so we ha ## :bookmark_tabs: List of Fucntions -### Functions from `` - -- [x] [`ft_isalpha`](libft/ft_isalpha.c) - checks for an alphabetic character. -- [x] [`ft_isdigit`](libft/ft_isdigit.c) - check for a digit (0 through 9). -- [x] [`ft_isalnum`](libft/ft_isalnum.c) - checks for an alphanumeric character. -- [x] [`ft_isascii`](libft/ft_isascii.c) - checks whether c fits into the ASCII character set. -- [x] [`ft_isprint`](libft/ft_isprint.c) - checks for any printable character. -- [x] [`ft_toupper`](libft/ft_toupper.c) - convert char to uppercase. -- [x] [`ft_tolower`](libft/ft_tolower.c) - convert char to lowercase. - -### Functions from `` - -- [x] [`ft_strlen`](libft/ft_strlen.c) - calculate the length of a string. -- [x] [`ft_memset`](libft/ft_memset.c) - fill memory with a constant byte. -- [x] [`ft_bzero`](libft/ft_bzero.c) - zero a byte string. -- [x] [`ft_memcpy`](libft/ft_memcpy.c) - copy memory area. -- [x] [`ft_memmove`](libft/ft_memmove.c) - copy memory area. -- [x] [`ft_strlcpy`](libft/ft_strlcpy.c) - copy string to a specific size. -- [x] [`ft_strlcat`](libft/ft_strlcat.c) - concatenate a string to a specific size. -- [x] [`ft_strchr`](libft/ft_strchr.c) - locate character in a string. -- [x] [`ft_strrchr`](libft/ft_strrchr.c) - locate character in a string. -- [x] [`ft_strncmp`](libft/ft_strncmp.c) - compare two strings. -- [x] [`ft_memchr`](libft/ft_memchr.c) - scan memory for a character. -- [x] [`ft_memcmp`](libft/ft_memcmp.c) - compare memory areas. -- [x] [`ft_strnstr`](libft/ft_strnstr.c) - locate a substring in a string. -- [x] [`ft_strdup`](libft/ft_strdup.c) - creates a duplicate for the string passed as a parameter. - -### Functions from `` -- [x] [`ft_atoi`](libft/ft_atoi.c) - convert a string to an integer. -- [x] [`ft_calloc`](libft/ft_calloc.c) - allocates memory and sets its bytes' values to 0. - -### Non-standard functions -- [x] [`ft_substr`](libft/ft_substr.c) - returns a substring from a string. -- [x] [`ft_strjoin`](libft/ft_strjoin.c) - concatenates two strings. -- [x] [`ft_strtrim`](libft/ft_strtrim.c) - trims the beginning and end of a string with a specific set of chars. -- [x] [`ft_split`](libft/ft_split.c) - splits a string using a char as parameter. -- [x] [`ft_itoa`](libft/ft_itoa.c) - converts a number into a string. -- [x] [`ft_strmapi`](libft/ft_strmapi.c) - applies a function to each character of a string. -- [x] [`ft_striteri`](libft/ft_striteri.c) - applies a function to each character of a string. -- [x] [`ft_putchar_fd`](libft/ft_putchar_fd.c) - output a char to a file descriptor. -- [x] [`ft_putstr_fd`](libft/ft_putstr_fd.c) - output a string to a file descriptor. -- [x] [`ft_putendl_fd`](libft/ft_putendl_fd.c) - output a string to a file descriptor, followed by a new line. -- [x] [`ft_putnbr_fd`](libft/ft_putnbr_fd.c) - output a number to a file descriptor. - -### Linked list functions - -- [x] [`ft_lstnew`](libft/ft_lstnew.c) - creates a new list element. -- [x] [`ft_lstadd_front`](libft/ft_lstadd_front.c) - adds an element at the beginning of a list. -- [x] [`ft_lstsize`](libft/ft_lstsize.c) - counts the number of elements in a list. -- [x] [`ft_lstlast`](libft/ft_lstlast.c) - returns the last element of the list. -- [x] [`ft_lstadd_back`](libft/ft_lstadd_back.c) - adds an element at the end of a list. -- [x] [`ft_lstclear`](libft/ft_lstclear.c) - deletes and free list. -- [x] [`ft_lstiter`](libft/ft_lstiter.c) - applies a function to each element of a list. -- [x] [`ft_lstmap`](libft/ft_lstmap.c) - applies a function to each element of a list. +### Functions of [`is character`](srcs/is) + +### Functions of [`linked list`](srcs/lst) + +### Functions of [`memory`](srcs/mem) + +### Functions of [`put`](srcs/put) + +### Functions of [`string`](srcs/str) + +### Functions of [`to`](srcs/to) ---