This project take printf as reference and build some of its functionalities from scratch to understand how variadic functions work.
Project with educational purpose, don't use it to replace real printf as not all its funcitonalities are implemented. The final file of this project when
make
is an archive libftprintf.a.
Functionalities implemented:
- %c Print character.
- %s Print string una string (as defined by default in C).
- %p The void * given as argument is printed in hex format.
- %d Print decimal number (base 10).
- %i Print integer number (base 10).
- %u Print unsigned decimal (base 10).
- %x Print lowercase hex number (base 16).
- %X Print uppercase hex number (base 16).
- %% Print % character.