void OECloseOStream(oeostream *os)
Closes the specified output stream. This function only works on oeostreams created with the OEPlatform::OEOpenOStream function and is also the only way in which they should be closed.
OEPlatform::OEOpenOStream