https://github.com/0xromjobert/libft
42 school very first project : create our own C library inspired by the Standard Library
https://github.com/0xromjobert/libft
Last synced: 26 days ago
JSON representation
42 school very first project : create our own C library inspired by the Standard Library
- Host: GitHub
- URL: https://github.com/0xromjobert/libft
- Owner: 0xromjobert
- Created: 2023-05-09T21:27:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-09T15:34:20.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T18:46:55.007Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Libft
42 school very first project : create our own library inspired by libc## Status
Finished : 14/05/2023
Grade : 125 / 100## How to Use
`make` to compile the mandatory part - functions described below.
`make bonus` to compile the bonus part - linked list functions described below## Functions
### Mandatory part
These are functions of the Standard C library, some of them being customized or tweaked versions of the original (ft_strmapi for instance). They are mostly useful for : characters, strings and memory manipulation.**Characters Functions**
ft_isalpha
ft_toupper
ft_tolower
ft_isdigit
ft_isascii
ft_isalnum
ft_isprint
**Strings Functions**
ft_strchr
ft_strrchr
ft_strncmp
ft_strlen
ft_strlcpy
ft_strlcat
ft_strnstr
ft_strdup
ft_substr
ft_strjoin
ft_strtrim
ft_split
ft_strdup
ft_strmapi
ft_striteri
**Memory Functions**
ft_memset
ft_bzero
ft_memcpy
ft_memchr
ft_memcmp
ft_memmove
ft_calloc
**Integer-Strings Conversion Functions**
ft_itoa
ft_atoi
**File Descriptor Functions**
ft_putchar_fd
ft_putstr_fd
ft_putendl_fd
ft_putnbr_fd## BONUS part
This is the additional and optional part worth an extra 25% (of the 100% for the mandatory part) - It consists of list-manipulation functions : creating new nodes, deleting them, insertion (front and back), copying, modifying and deleting an entire linked list.**Linked Lists Functions**
ft_lstnew
ft_lstadd_front
ft_lstsize
ft_lstlast
ft_lstadd_back
ft_lstdelone
ft_lstclear
ft_lstiter
ft_lstmap