implement flu_sbwrite()