Skip to content

mota494/42_ftprintf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

42_ftprintf

Static Badge Static Badge

Static Badge

Recreating the C standard library function printf()

libft functions used

Function Description
ft_putchar.c Output a char to the standard output
ft_putnbr.c Output any number inserted to the standard output
ft_putstr.c Output any string inserted to the standard output

Files

Name Description Status
ft_printf.c Receives the arguments and sends them to a function to print them ⠀✓
ft_flags.c Receives the flags and sends them to the functions that will print it ⠀✓
ft_printint.c Prints integers, doubles and unsigned int ⠀✓
ft_printhexa.c Prints any number in it's hexadecimal ⠀✓
ft_printpointer.c Prints the address of the pointer received ⠀✓

More info

Functions Map

graph LR
	ft_printf-->ft_flags-->transport
	transport-->ft_printint
		ft_printint-->ft_unsputnbr-->ft_putchar
		ft_printint-->ft_putnbr-->ft_putchar
	transport-->ft_putstr-->ft_putchar
	transport-->ft_hexamain-->ft_lowhex-->ft_putnbrhex
	ft_hexamain-->ft_uphex-->ft_putnbrhex-->ft_putchar
	transport-->ft_printpointer-->ft_hexdefine-->ft_pointerputnbr-->ft_putchar
Loading

About

Replicating printf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published