dune-pdelab  2.5-dev
hostname.hh
Go to the documentation of this file.
1 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=8 sw=2 sts=2:
3 
4 #ifndef DUNE_PDELAB_COMMON_HOSTNAME_HH
5 #define DUNE_PDELAB_COMMON_HOSTNAME_HH
6 
7 #include <string>
8 
9 namespace Dune {
10  namespace PDELab {
11 
13 
17  std::string getHostName();
18 
19  } // namespace PDELab
20 } // namespace Dune
21 
22 #endif // DUNE_PDELAB_COMMON_HOSTNAME_HH
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28
std::string getHostName()
C++ friendly wrapper around POSIX&#39; gethostname()
Definition: hostname.cc:21