D Burgess wrote:
but there must be a public-domain or MIT-licencsed
Maybe it helps: MINIX has an implementation foo: http://www.cs.vu.nl/pub/minix/2.0.0/manuals/CAT3/PRINTF.3 The whole of MINIX is MIT licensed... -Martin