mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
11 lines
239 B
C
11 lines
239 B
C
#include <stdlib.h>
|
|
|
|
#include "Vtestbench__Dpi.h"
|
|
|
|
const char *getenvval(const char *pszName) {
|
|
const char *pszValue = getenv(pszName);
|
|
if (pszValue == NULL) {
|
|
return "";
|
|
}
|
|
return ((const char *) getenv(pszName));
|
|
} |