The operations begin by calling opfx() and end by calling osfx() then returning the value specified for the formatted output.
Some output maybe generated by converting the scalar data type to a NTBS (null terminated byte string) text.
If the function fails for any reason the function calls set state(failbit).