Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ GetEnv
Function
GetEnv
ppcc/adlib/os.cc:422–428 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
}
421
422
Str *GetEnv(const char *name) {
423
char *result = getenv(name);
424
if (result)
425
return new Str(result);
426
else
427
return NULL;
428
}
429
430
Str *GetEnv(Str *name) {
431
return GetEnv(name->c_str());
Callers
1
ProgramPath
Function · 0.85
Calls
1
c_str
Method · 0.80
Tested by
no test coverage detected