Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.29 KB

README.md

File metadata and controls

15 lines (13 loc) · 1.29 KB

Printf

A partial reimplementation of the printf in C. Handles only the following conversions.

Conversion Short Description
%c Print a single character.
%s Print a string of characters.
%p The void * pointer argument is printed in hexadecimal.
%d Print a decimal (base 10) number.
%i Print an integer in base 10.
%u Print an unsigned decimal (base 10) number.
%x Print a number in hexadecimal (base 16), with lowercase.
%X Print a number in hexadecimal (base 16), with uppercase.
%% Print a percent sign.