40 #ifndef Included_Utilities
41 #define Included_Utilities
44 #include <sys/types.h>
48 #define CONCURRENCY_TRACE "%16.16x %16.16x %16.16x %5.5hu%c "
50 #define CONCURRENCY_TRACE "%8.8x %8.8x %8.8x %5.5hu%c "
53 #define CONCURRENCY_BUFFER_SIZE 100
60 static int memicmp(
const void *opt1,
const void *opt2,
size_t len);
65 static int vsnprintf(
char *buffer,
size_t count,
const char *format, va_list args);
66 static int snprintf(
char *buffer,
size_t count,
const char *format, ...);
static const char * strnchr(const char *, sizeB_t n, char ch)
static void strupper(char *str)
static wholenumber_t currentThreadId()
static bool traceConcurrency()
static void strlower(char *str)
static bool traceParsing()
static int strCaselessCompare(const char *opt1, const char *opt2)
static const char * locateCharacter(const char *s, const char *set, sizeB_t l)
static int memicmp(const void *opt1, const void *opt2, size_t len)
static int vsnprintf(char *buffer, size_t count, const char *format, va_list args)
static int snprintf(char *buffer, size_t count, const char *format,...)