Print ARGUMENT(s) according to FORMAT, or execute according to OPTION
A format specifier follows this prototype: %type
The following format specifiers are supported:
Type | Output |
---|---|
d or i | Signed decimal integer |
u | Unsigned decimal integer |
b | Unsigned binary |
o | Unsigned octal |
x | Unsigned hexadecimal integer (lowercase) |
X | Unsigned hexadecimal integer (uppercase) |
c | Single character |
s | String of characters |
% | A % followed by another % character will write a single % |
p | pointer address |
Type | Output |
---|---|
helper.c | helper fuctions that work with all the files |
helper2.c | second helper function |
helper3.c | third helper function |
utils.c | format specifiers and parser |
utils2.c | second utils |
utils3.c | third utils |
holberton.h | header files |
printf.c | main function that runs all the other functions |