Custom reimplementations of classic C standard library functions, developed from scratch to learn how they work internally, handle edge cases manually, and build a reliable foundation for future 42 projects.
src/Makefile: Build automation file.
src/ft_atoi.c: Converts a string to an integer.
src/ft_bzero.c: Sets a memory block to zero.
src/ft_calloc.c: Allocates zero-initialized memory.
src/ft_isalnum.c: Checks if a character is alphanumeric.
src/ft_isalpha.c: Checks if a character is alphabetic.
src/ft_isascii.c: Checks if a character is a valid ASCII value.
src/ft_isdigit.c: Checks if a character is a digit.
src/ft_isprint.c: Checks if a character is printable.
src/ft_itoa.c: Converts an integer to a string.
src/ft_memchr.c: Searches for a byte in a memory block.
src/ft_memcmp.c: Compares two memory blocks.
src/ft_memcpy.c: Copies memory from one location to another.
src/ft_memmove.c: Copies memory safely, even with overlap.
src/ft_memset.c: Fills a memory block with a specific byte.
src/ft_putchar_fd.c: Writes a character to a file descriptor.
src/ft_putendl_fd.c: Writes a string followed by a newline to a file descriptor.
src/ft_putnbr_fd.c: Writes an integer to a file descriptor.
src/ft_putstr_fd.c: Writes a string to a file descriptor.
src/ft_split.c: Splits a string into an array using a delimiter.
src/ft_strchr.c: Finds the first occurrence of a character in a string.
src/ft_strdup.c: Creates a duplicate of a string.
src/ft_striteri.c: Applies a function to each character of a string (with index).
src/ft_strjoin.c: Joins two strings into a new one.
src/ft_strlcat.c: Appends a string to another with size-bounded safety.
src/ft_strlcpy.c: Copies a string with size-bounded safety.
src/ft_strlen.c: Returns the length of a string.
src/ft_strmapi.c: Creates a new string by applying a function to each character.
src/ft_strncmp.c: Compares two strings up to a given length.
src/ft_strnstr.c: Searches for a substring within a limited length.
src/ft_strrchr.c: Finds the last occurrence of a character in a string.
src/ft_strtrim.c: Trims characters from the start and end of a string.
src/ft_substr.c: Extracts a substring from a string.
src/ft_tolower.c: Converts a character to lowercase.
src/ft_toupper.c: Converts a character to uppercase.
src/libft.h: The header containing the definitions, declarations, and libraries.
This project has been created as part of the 42 curriculum by Néo Foderé de Frutos (nfodere-), student at 42 Barcelona
