Logo Search packages:      
Sourcecode: condor version File versions  Download package

const char * DaemonCore::GetExceptionString ( int  signal  )  [static]

Not_Yet_Documented

Parameters:
signal signal
Returns:
Not_Yet_Documented

Definition at line 8450 of file daemon_core.cpp.

Referenced by UserProc::PublishUpdateAd().

{
      static char exception_string[80];

#ifdef WIN32
      sprintf(exception_string,"exception %s",
            ExceptionHandler::GetExceptionString(sig));
#else
      if ( sig > 64 ) {
            sig = WTERMSIG(sig);
      }
#ifdef HAVE_STRSIGNAL
      sprintf(exception_string,"signal %d (%s)",sig,strsignal(sig));
#else
      sprintf(exception_string,"signal %d",sig);
#endif
#endif

      return exception_string;
}


Generated by  Doxygen 1.6.0   Back to index