model_server/subsystem/src/autosubsys.cxx
//
// Creates a unique dormant-code-auto name.
Creates a unique dormant-code-auto name.
Creates a unique dormant - code - auto name .
static char *make_subsystem_name() {
  char temp[32], *name;
  symbolArr* existing_group;
  do {
    sprintf(temp, "dormant-code-auto-%d", subsystemno++);
    existing_group = extGroupApp::find(temp);
  } while ( existing_group );
  name = new char[strlen(temp)+1];
  strcpy(name, temp);
  return name;
}
static char * make_subsystem_name ( ) { char temp [ 32 ] , * name ; symbolArr * existing_group ; do { sprintf ( temp , " " , subsystemno ++ ) ; existing_group = extGroupApp :: find ( temp ) ; } while ( existing_group ) ; name = new char [ strlen ( temp ) + 1 ] ; strcpy ( name , temp ) ; return name ; }
Creates a unique dormant-code-auto name.
Creates a unique dormant - code - auto name .