Community
Participate
Working Groups
TResult CBootLoaderOptionParser::ParseModuleSpec(SModuleSpec *pSpec, const char *szSpec)
{
// Split the module name and its options around the first ":" character
char *szOpt = strchr(szSpec, ':');
const char *szOpt = strchr(szSpec, ':');
if (NULL == szOpt)
pSpec->strOptions.Set("");
}
else
pSpec->strOptions.Set(szOpt + 1); // skip the ":"
pSpec->strOptions.Set(&szOpt[1]); // skip the ":"
char szName[1024];
memset(szName, 0, 1024);