Mirrored from GitHub myrrysart/lib
  • C 96.8%
  • Makefile 3.2%
Find a file
2025-04-28 08:47:45 +03:00
.gitignore added testers to ignore list 2024-12-02 09:43:53 +02:00
ft_atoi.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_bzero.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_calloc.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_isalnum.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_isalpha.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_isascii.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_isdigit.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_isprint.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_itoa.c refactor(itoa): old overflow trick removed that was no longer required by the getlen logic 2024-12-04 11:25:26 +02:00
ft_memchr.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_memcmp.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_memcpy.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_memmove.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_memset.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_putchar_fd.c fix(putchar): removed extra edgecase test that wasn't needed 2024-12-04 11:08:59 +02:00
ft_putendl_fd.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_putnbr_fd.c fix(putchar): made it work with whatever INT_MIN value that system might have. 2024-12-04 11:10:07 +02:00
ft_putstr_fd.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_split.c fix: removed exta variable 2025-04-28 08:47:45 +03:00
ft_strchr.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strdup.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_striteri.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strjoin.c fix(strjoin): removed unnecessary assignment 2024-12-04 12:28:15 +02:00
ft_strlcat.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strlcpy.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strlen.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strmapi.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strncmp.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strnstr.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strrchr.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_strtrim.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_substr.c chore(project): removed extra comments about the functions 2024-12-03 17:58:25 +02:00
ft_tolower.c tolower created 2024-10-31 15:12:18 +02:00
ft_toupper.c small fixes and syntax and comments 2024-11-11 17:04:46 +02:00
libft.h fix(libft.h): removed bonus protos 2024-12-04 12:28:41 +02:00
Makefile chore(makefile): removed extra testing related rules 2024-12-03 16:42:19 +02:00
README.md Update README.md 2024-12-04 18:58:27 +02:00

LIBFT

The C Library.

About me

Learning C.

Project Description

Recreating C library functions.

String Functions

Function Description
ft_strlen String length
ft_strchr Find char
ft_strrchr Find char reverse
ft_strnstr Find substring
ft_strncmp Compare strings
ft_strdup Duplicate string
ft_strjoin Combine strings
ft_strtrim Trim excess chars
ft_substr Extract substring
ft_split Split string

Memory Functions

Function Description
ft_memset Fill memory
ft_memcpy Copy memory
ft_memmove Safe memory copy
ft_memchr Find byte
ft_memcmp Compare memory
ft_bzero Zero memory
ft_calloc Allocate zeroed memory

Character Functions

Function Description
ft_isalpha Letter check
ft_isdigit Number check
ft_isalnum Alphanumeric check
ft_isascii ASCII check
ft_isprint Printable check
ft_toupper To uppercase
ft_tolower To lowercase

Convert Functions

Function Description
ft_atoi ASCII to int
ft_itoa Int to ASCII

Write Functions

Function Description
ft_putchar_fd Write char
ft_putstr_fd Write string
ft_putendl_fd Write string + \n
ft_putnbr_fd Write number

String Transform Functions

Function Description
ft_striteri Apply function to each char with index
ft_strmapi "Map" function over string with index

Make Rules

Command Description
make Compile library
make bonus Add list functions (if I had any...)
make clean Remove objects
make fclean Full clean
make re Recompile