.. # split from OEPlatformFunctions.rst:101

.. include:: ../substitutions

.. oe:namespace:: OEPlatform

.. meta::
   :keywords: OECloseOStream

.. oe:function:: OECloseOStream

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OECloseOStream(oeostream *)

   .. oe:language:: python

      .. oe:api:: python

         OECloseOStream(arg1: oeostream) -> None

   Closes the specified output :ref:`oeostream <OEPlatform_oeostream>` stream.
   This function only works on :oe:cls:`oeostreams<OEPlatform::oeostream>`
   created with the :oe:func:`OEPlatform::OEOpenOStream` function and
   is also the only way in which they should be closed.

