.. # split from OEPlatformFunctions.rst:364

.. include:: ../substitutions

.. oe:namespace:: OEPlatform

.. meta::
   :keywords: OEGetHostName

.. oe:function:: OEGetHostName

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

      .. oe:api::

         char* OEGetHostName()

   .. oe:language:: python

      .. oe:api:: python

         OEGetHostName() -> str

   Returns the hostname of the current machine. This
   function is thread safe and expensive on the first call. The
   returned pointer does not need to be freed.

