X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib_tchar.h;h=5a2038f07508de2904492d1a19f8efc3febf053b;hb=43a5725a59b3e5a55ba41ffe988b9bc9430225a4;hp=d8c6915c7024104475760213fd50f7f9148c698b;hpb=ab63d9f11eae3b930f0f75fe0edb6b6df1cdb280;p=wimlib diff --git a/include/wimlib_tchar.h b/include/wimlib_tchar.h index d8c6915c..5a2038f0 100644 --- a/include/wimlib_tchar.h +++ b/include/wimlib_tchar.h @@ -28,6 +28,7 @@ typedef wchar_t tchar; # define tsprintf swprintf # define tfprintf fwprintf # define tvfprintf vfwprintf +# define tscanf swscanf # define istalpha(c) iswalpha((wchar_t)(c)) # define istspace(c) iswspace((wchar_t)(c)) # define totlower(c) towlower((wchar_t)(c)) @@ -50,11 +51,11 @@ typedef wchar_t tchar; # define tstrtol wcstol # define tstrtod wcstod # define tstrtoul wcstoul +# define tstrtoull wcstoull # define tunlink _wunlink # define tstrerror _wcserror # define taccess _waccess # define tstrdup wcsdup -# define ttempnam _wtempnam # define tgetenv _wgetenv /* The following "tchar" functions do not have exact wide-character equivalents * on Windows so require parameter rearrangement or redirection to a replacement @@ -87,6 +88,7 @@ typedef char tchar; # define tsprintf sprintf # define tfprintf fprintf # define tvfprintf vfprintf +# define tscanf sscanf # define istalpha(c) isalpha((unsigned char)(c)) # define istspace(c) isspace((unsigned char)(c)) # define totlower(c) tolower((unsigned char)(c)) @@ -111,9 +113,9 @@ typedef char tchar; # define tstrtol strtol # define tstrtod strtod # define tstrtoul strtoul +# define tstrtoull strtoull # define tmkdir mkdir # define tstrdup strdup -# define ttempnam tempnam # define tgetenv getenv # define TSTRDUP STRDUP # define tstrerror_r strerror_r