View hex_dump.c
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#ifdef _WIN64
#define ui3264toa_s _ui64toa_s
#else
#define ui3264toa_s _ultoa_s
#endif
View wildcard_match.c
bool wildcard_match(const wchar_t *string, const wchar_t *pattern, bool matchcase)
{
const wchar_t *s = NULL;
const wchar_t *p = NULL;
while ( true ) {
if ( *pattern == L'*' ) {
while ( *pattern == L'*' )
pattern++;