Initial version from http://home.comcast.net/~derelict/files/printf2.c

Signed-off-by: Mike Stitt <mikes@spindance.com>