Android-cuttlefish cvd tool
Namespaces | Functions | Variables
env.cpp File Reference
#include <stdlib.h>
#include "sysdeps/env.h"
#include <android-base/utf8.h>
Include dependency graph for env.cpp:

Namespaces

namespace  adb
 
namespace  adb::sysdeps
 

Functions

std::optional< std::string > adb::sysdeps::GetEnvironmentVariable (std::string_view var)
 
std::string adb::sysdeps::GetHostNameUTF8 ()
 
std::string adb::sysdeps::GetLoginNameUTF8 ()
 

Variables

constexpr char adb::sysdeps::kHostNameEnvVar [] = "HOSTNAME"
 
constexpr char adb::sysdeps::kUserNameEnvVar [] = "LOGNAME"