Skip to content

Thais-Malheiros/Libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft

My very first own library

libft_icon

Libft is the first major project at 42 School, with the goal of building our first static library of functions in the C language.

Part 1 - Libc functions

To begin, I needed to reimplement a set of functions from the libc library. These functions were required to have the same prototypes and exhibit the same behaviors as the originals and must comply with their definitions in the manual pages. They did not require any external functions, with the exception of calloc and strdup, which use malloc.

These are the functions that I had to reimplement:

• isalpha • isdigit • isalnum • isascii • isprint • strlen • memset • bzero • memcpy • memmove • strlcpy • strlcat • toupper • tolower • strchr • strrchr • strncmp • memchr • memcmp • strnstr • atoi • calloc • strdup

Part 2 - Additional functions

In the second part, I needed to develop a set of functions that are either not part of the libc library or are part of it but in a different form.

The additional functions that I had to implement are:

• 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

About

This project is about coding a C library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published