An open API service indexing awesome lists of open source software.

https://github.com/servettonga/libft

A custom C library implementing standard library functions and additional utilities
https://github.com/servettonga/libft

clang clanguage cpp standard-library

Last synced: 2 months ago
JSON representation

A custom C library implementing standard library functions and additional utilities

Awesome Lists containing this project

README

        

# libft

A custom C library implementing standard library functions and additional utilities

## Overview

This project recreates various standard C library functions along with additional utilities. It provides a foundation for other 42 school projects.

## Categories

### Memory Functions

- `ft_memset` - Fill memory with a constant byte
- `ft_bzero` - Zero a byte string
- `ft_memcpy` - Copy memory area
- `ft_memmove` - Copy memory area with overlap handling
- `ft_memchr` - Scan memory for a character
- `ft_memcmp` - Compare memory areas
- `ft_calloc` - Allocate and zero memory

### String Functions

- `ft_strlen`, `ft_strlcpy`, `ft_strlcat` - String length and copying
- `ft_strchr`, `ft_strrchr` - Find characters in strings
- `ft_strnstr`, `ft_strncmp` - String searching and comparison
- `ft_strdup`, `ft_substr` - String duplication and extraction
- `ft_strjoin`, `ft_strtrim` - String joining and trimming
- `ft_split` - Split string into array
- `ft_strmapi`, `ft_striteri` - String character mapping

### Character Functions

- `ft_isalpha`, `ft_isdigit`, `ft_isalnum` - Character classification
- `ft_isascii`, `ft_isprint` - Additional character checks
- `ft_toupper`, `ft_tolower` - Character case conversion

### Number Functions

- `ft_atoi` - Convert string to integer
- `ft_itoa` - Convert integer to string

### File Descriptor Functions

- `ft_putchar_fd`, `ft_putstr_fd` - Output characters and strings
- `ft_putendl_fd`, `ft_putnbr_fd` - Output with newline and numbers

### List Functions (Bonus)

- List creation and deletion
- List manipulation and traversal
- List transformation

----
Published for tracking personal development only.

libftTester by: https://github.com/Tripouille/libftTester