Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

17 Commits

Repository files navigation

libft


<ctype.h>

func namedescription
ft_isalnumchecks for an alphanumeric character
ft_isalphachecks for an alphabetic character
ft_isasciichecks whether c fits into the ASCII character set
ft_isdigitchecks for a digit (0 through 9)
ft_isprintchecks for any printable character
ft_tolowerconvert char to lowercase
ft_toupperconvert char to uppercase

<string.h>

func namedescription
ft_bzerozero a byte string
ft_memchrscan memory for a character
ft_memcmpcompare memory areas
ft_memcpycopy memory area
ft_memmovecopy memory area
ft_memsetfill memory with a constant byte
ft_strchrlocate character in string
ft_strdupcreates a dupplicate for the string passed as parameter
ft_strlcatconcatenate string to an specific size
ft_strlcpycopy string to an specific size
ft_strlencalculate the length of a string
ft_strncmpcompare two strings
ft_strnstrlocate a substring in a string
ft_strrchrlocate character in string

<stdlib.h>

func namedescription
ft_atoiconvert a string to an integer
ft_callocallocates memory and sets its bytes' values to 0

<stdio.h>

func namedescription
ft_printfoutput a formatted string

non-standard

func namedescription
ft_get_next_linereturns next line as string
ft_itoaconverts a number into a string
ft_putchar_fdoutput a char to a file descriptor
ft_putendl_fdoutput a string to a file descriptor, followed by a new line
ft_putnbr_fdoutput a number to a file descriptor
ft_putstr_fdoutput a string to a file descriptor
ft_splitsplits a string using a char as parameter
ft_striteriapplies a function to each character of a string
ft_strjoinconcatenates two strings
ft_strmapiapplies a function to each character of a string
ft_strtrimtrims the beginning and end of string with specific set of chars
ft_substrreturns a substring from a string

linked list

func namedescription
ft_lstadd_backadds an element at the end of a list
ft_lstadd_frontadds an element at the beginning of a list
ft_lstcleardeletes and free list
ft_lstdelonedeletes one node
ft_lstiterapplies a function to each element of a list
ft_lstlastreturns the last element of the list
ft_lstmapapplies a function to each element of a list
ft_lstnewcreates a new list element
ft_lstsizecounts the number of elements in a list

About

bread and butter for projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages