HelenOS sources

root/uspace/app/bdsh/cmds/modules/printf/

[..]
entry.h printf.c printf.h
[..]
HelenOS homepage, sources at GitHub