https://github.com/bebalix/libft
Create my own C library
https://github.com/bebalix/libft
42projects language-c libft
Last synced: 11 months ago
JSON representation
Create my own C library
- Host: GitHub
- URL: https://github.com/bebalix/libft
- Owner: BebAlix
- Created: 2022-07-11T20:48:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T11:23:15.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T15:25:31.434Z (about 1 year ago)
- Topics: 42projects, language-c, libft
- Language: C
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libft
Make a my own libc with this fonction :
1. implement function who exist in libc :
• isalpha
• isdigit
• isalnum
• isascii
• isprint
• strlen
• memset
• bzero
• memcpy
• memmove
• strlcpy
• strlcat
• toupper
• tolower
• strchr
• strrchr
• strncmp
• memchr
• memcmp
• strnstr
• atoi
• calloc
• strdup
2. implement function who's not exist in libc:
• ft_substr
• ft_strjoin
• ft_strtrim
• ft_split
• ft_itoa
• ft_strmapi
• ft_striteri
• ft_putchar_fd
• ft_putstr_fd
• ft_putendl_fd
• ft_putnbr_fd
3. bonus, implement function for linked list :
• ft_lstnew
• ft_lstadd_front
• ft_lstsize
• ft_lstlast
• ft_lstadd_back
• ft_lstdelone
• ft_lstclear
• ft_lstiter
• ft_lstmap
I add two other project in the libft with this functions :
• get_next_line
• ft_printf
## How to use
- compile and create the lib.a :
```sh
$ make
```
- Remove all:
```sh
$ make fclean
```