Implementation of the famous printf function using VAR_ARGS with most of its flags.
int ft_printf(const char *format, ...);
Any of these specifiers following a percent will be interpreted.
Also between the percent and specifiers many flags can be set to modify the length | precision | prefix | padding ...
%[-+ #0][\d\*][hh|h|ll|l|j|z][%sSdDioOuUxXcCbBfF]
%
print the character'%'
.s
print the string at the address given.S
print the string with unicode at the address givenp
print the address in hexadecimal.d
print the integer in base 10D
same asd
.i
same asd
.o
print the integer in base 8O
same aso
.u
print the unsigned integer in base 10.U
same asu
.x
print the integer in base 16.X
same asx
but capitalize the letters.c
print the character.C
print the unicode character.b
print the integer in base 2.B
same asb
f
print the float number.F
same asf
.