MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / setEnv

Function setEnv

src/OSspecific/POSIX/POSIX.C:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121bool Foam::setEnv
122(
123 const word& envName,
124 const std::string& value,
125 const bool overwrite
126)
127{
128 return setenv(envName.c_str(), value.c_str(), overwrite) == 0;
129}
130
131
132Foam::string Foam::hostName(bool full)

Callers 5

vtkPVFoam.CFile · 0.85
vtkPVblockMesh.CFile · 0.85
createTimes.HFile · 0.85
getRootCaseFunction · 0.85
readDictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected