implement flu_putf()