implement flu_sbputc()