model_server/dd/src/ddIfl.h.cxx
// returns temp string (string persists till next call)
returns temp string (string persists till next call)
returns temp string ( string persists till next call )
char const *dd_genname(char const *prefix = 0)
{
  static int pid = OSapi_getpid();
  static long hid = OSapi_gethostid();
  static char buf[100];
  if(! prefix) prefix = "symbol";
  unsigned long val = dd_timestamp();
  OSapi_sprintf(buf, "%s__%u_%u_%u", prefix, hid, pid, val);
  return buf;
}
char const * dd_genname ( char const * prefix = 0 ) { static int pid = OSapi_getpid ( ) ; static long hid = OSapi_gethostid ( ) ; static char buf [ 100 ] ; if ( ! prefix ) prefix = " " ; unsigned long val = dd_timestamp ( ) ; OSapi_sprintf ( buf , " " , prefix , hid , pid , val ) ; return buf ; }
returns temp string (string persists till next call)
returns temp string ( string persists till next call )