How yildirimmmm/libft works
Libft is a reusable C utility library whose workflow is a consuming program calling its declared functions to process memory, strings, characters, and conversions, or write formatted values to a file descriptor. It has no single orchestrated pipeline: callers choose individual functions. The header declarations and README support the API and capability map; sampled implementations also show a few direct helper calls, included below.
Main entry points: libft.h Public API · ft_strlen.c String length · ft_substr.c Extract substring · ft_strlcat.c Bounded concatenate
Components 34
Memory
- Set memory
ft_memset.c - Zero memory
ft_bzero.c - Copy memory
ft_memcpy.c - Overlap-safe copy
ft_memmove.c - Find byte
ft_memchr.c - Compare memory
ft_memcmp.c - Allocate zeroed
ft_calloc.c
Strings
- String length
ft_strlen.c - Bounded copy
ft_strlcpy.c - Bounded concatenate
ft_strlcat.c - Find first character
ft_strchr.c - Find last character
ft_strrchr.c - Compare strings
ft_strncmp.c - Find substring
ft_strnstr.c - Duplicate string
ft_strdup.c - Extract substring
ft_substr.c - Join strings
ft_strjoin.c - Trim string
ft_strtrim.c - Split string
ft_split.c - Map characters
ft_strmapi.c - Iterate characters
ft_striteri.c
Characters
- Alphabetic check
ft_isalpha.c - Digit check
ft_isdigit.c - Alphanumeric check
ft_isalnum.c - ASCII check
ft_isascii.c - Printable check
ft_isprint.c - Uppercase conversion
ft_toupper.c - Lowercase conversion
ft_tolower.c
Convert and Output
- Parse integer
ft_atoi.c - Format integer
ft_itoa.c - Write character
ft_putchar_fd.c - Write string
ft_putstr_fd.c
Other components
- C program
- Public API
libft.h
Connections 39
- C program → Public API: uses
- Public API → Set memory: declares
- Public API → Zero memory: declares
- Public API → Copy memory: declares
- Public API → Overlap-safe copy: declares
- Public API → Find byte: declares
- Public API → Compare memory: declares
- Public API → Allocate zeroed: declares
- Public API → String length: declares
- Public API → Bounded copy: declares
- Public API → Bounded concatenate: declares
- Public API → Find first character: declares
- Public API → Find last character: declares
- Public API → Compare strings: declares
- Public API → Find substring: declares
- Public API → Duplicate string: declares
- Public API → Extract substring: declares
- Public API → Join strings: declares
- Public API → Trim string: declares
- Public API → Split string: declares
- Public API → Map characters: declares
- Public API → Iterate characters: declares
- Public API → Alphabetic check: declares
- Public API → Digit check: declares
- Public API → Alphanumeric check: declares
- Public API → ASCII check: declares
- Public API → Printable check: declares
- Public API → Uppercase conversion: declares
- Public API → Lowercase conversion: declares
- Public API → Parse integer: declares
- Public API → Format integer: declares
- Public API → Write character: declares
- Public API → Write string: declares
- Bounded concatenate → String length: calls
- Join strings → String length: calls
- Extract substring → String length: calls
- Extract substring → Duplicate string: calls
- Trim string → String length: calls
- Map characters → String length: calls