16 #include "epicsVersion.h" 25 const char *pExp,
const char *pAuthorName)
30 "A call to 'assert(%s)'\n" 31 " by thread '%s' failed in %s line %u.\n",
36 errlogPrintf(
"EPICS Release %s.\n", epicsReleaseVersion);
42 "%Y-%m-%d %H:%M:%S.%f %Z", ¤t);
47 pAuthorName =
"the author";
49 errlogPrintf(
"Please E-mail this message to %s or to tech-talk@aps.anl.gov\n",
An EPICS-specific replacement for ANSI C's assert.
LIBCOM_API const char *epicsStdCall epicsThreadGetNameSelf(void)
void epicsAssert(const char *pFile, const unsigned line, const char *pExp, const char *pAuthorName)
Miscellaneous macro definitions.
LIBCOM_API size_t epicsStdCall epicsTimeToStrftime(char *pBuff, size_t bufLength, const char *pFormat, const epicsTimeStamp *pTS)
Convert epicsTimeStamp to string. See epicsTime::strftime()
LIBCOM_API void epicsStdCall epicsThreadSuspendSelf(void)
int epicsStdCall epicsTimeGetCurrent(epicsTimeStamp *pDest)
Get current time into *pDest.
int errlogPrintf(const char *pFormat,...)
void epicsStackTrace(void)
void date(const char *format)
EPICS time stamp, for use from C code.
Routines for code that can't continue or return after an error.
EPICS time-stamps (epicsTimeStamp), epicsTime C++ class and C functions for handling wall-clock times...
C++ and C descriptions for a thread.