OmniSciDB  c07336695a
DefaultEnvResolver Class Reference

#include <CommandHistoryFile.h>

+ Inheritance diagram for DefaultEnvResolver:

Public Member Functions

auto getuid () const
 
auto const * getpwuid (decltype(::getuid()) uid) const
 
auto const * getenv (char const *env_var_name) const
 

Detailed Description

Definition at line 34 of file CommandHistoryFile.h.

Member Function Documentation

◆ getenv()

auto const* DefaultEnvResolver::getenv ( char const *  env_var_name) const
inline

Definition at line 42 of file CommandHistoryFile.h.

Referenced by HomeResolver::getenv(), getpwuid(), and CommandHistoryFileImpl< ENV_RESOLVER >::resolveHomeDirectory().

42  {
43  return ::secure_getenv(env_var_name);
44  }
+ Here is the caller graph for this function:

◆ getpwuid()

auto const* DefaultEnvResolver::getpwuid ( decltype(::getuid())  uid) const
inline

Definition at line 37 of file CommandHistoryFile.h.

References getenv().

37 { return ::getpwuid(uid); }
+ Here is the call graph for this function:

◆ getuid()

auto DefaultEnvResolver::getuid ( ) const
inline

Definition at line 36 of file CommandHistoryFile.h.

36 { return ::getuid(); }

The documentation for this class was generated from the following file: