Go to the source code of this file.
Functions | |
| const char * | NdbEnv_GetEnv (const char *name, char *buf, int buflen) |
|
||||||||||||||||
|
Definition at line 22 of file NdbEnv.c. References getenv(), NULL, and p. Referenced by TransporterFacade::get_an_alive_node(), LocalConfig::init(), main(), NDB_COMMAND(), NdbConfig_get_path(), ndbSetOwnVersion(), restartNFDuringNR(), and Ndb::startTransactionLocal(). 00023 { 00024 char* p = NULL; 00025 p = getenv(name); 00026 00027 if (p != NULL && buf != NULL){ 00028 strncpy(buf, p, buflen); 00029 buf[buflen-1] = 0; 00030 } 00031 return p; 00032 00033 }
|
1.4.3