|
Defines |
#define | CLK_TCK CLOCKS_PER_SEC |
#define | BUFSIZE (4096 + 1024) |
#define | w2c(w) (((w) & 0xff00)?'\277':((unsigned char) ((w) & 0x00ff))) |
Functions |
int | SBlogGetTime (time_t *timestamp, VXIunsigned *timestampMsec) |
int | SBlogGetTimeStampStr (time_t timestamp, VXIunsigned timestampMsec, char *timestampStr) |
int | SBlogGetFileStats (const char *path, SBlogFileStats *fileStats) |
int | SBlogGetCPUTimes (long *userTime, long *kernelTime) |
static int | format_wcs2str (const wchar_t *wformat, char *nformat) |
static wchar_t * | ConvertFormatForWidePrintf (const wchar_t *format) |
int | SBlogVswprintf (wchar_t *wcs, size_t maxlen, const wchar_t *format, va_list args) |
int | SBlogMkDir (const char *path) |
int | SBlogIsDir (const SBlogFileStats *statInfo) |
VXIbool | SBlogWchar2Latin1 (const wchar_t *input, char *output, VXIunsigned maxlen) |
VXIbool | SBlogWchar2UTF8 (const wchar_t *input, char *output, VXIunsigned maxOutputBytes, VXIunsigned *outputBytes) |
VXIlogResult | SBlogLogErrorToConsole (const VXIchar *moduleName, VXIunsigned errorID, const VXIchar *errorIDText) |
VXIlogResult | SBlogVLogErrorToConsole (const VXIchar *moduleName, VXIunsigned errorID, const VXIchar *errorIDText, const VXIchar *format, va_list arguments) |