.. # split from OESystemFunctions.rst:2407

.. include:: ../substitutions
.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OESNPrintf

.. attention::

   |CPPONLY|

.. oe:function:: OESNPrintf

   .. oe:api::

      int OESNPrintf(char* buffer, size_t bufferSize, const char* format, ...)

   Cross platform implementation of the safe ``snprintf`` C
   function. Provided as a performance improvement over
   :oe:func:`OESystem::OEMakeString`. :oe:func:`OESystem::OEMakeString`
   should still be preferred as it will automatically handle memory
   management.

   .. warning::

      Considered an advanced performance tuning API that may change in
      the future.


