Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentchar.h
Go to the documentation of this file.
00001 00006 #include <crtdefs.h> 00007 00008 #ifndef _INC_TCHAR 00009 #define _INC_TCHAR 00010 00011 #ifdef _STRSAFE_H_INCLUDED_ 00012 #error Need to include strsafe.h after tchar.h 00013 #endif 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 #define _ftcscat _tcscat 00020 #define _ftcschr _tcschr 00021 #define _ftcscpy _tcscpy 00022 #define _ftcscspn _tcscspn 00023 #define _ftcslen _tcslen 00024 #define _ftcsncat _tcsncat 00025 #define _ftcsncpy _tcsncpy 00026 #define _ftcspbrk _tcspbrk 00027 #define _ftcsrchr _tcsrchr 00028 #define _ftcsspn _tcsspn 00029 #define _ftcsstr _tcsstr 00030 #define _ftcstok _tcstok 00031 00032 #define _ftcsdup _tcsdup 00033 #define _ftcsnset _tcsnset 00034 #define _ftcsrev _tcsrev 00035 #define _ftcsset _tcsset 00036 00037 #define _ftcscmp _tcscmp 00038 #define _ftcsicmp _tcsicmp 00039 #define _ftcsnccmp _tcsnccmp 00040 #define _ftcsncmp _tcsncmp 00041 #define _ftcsncicmp _tcsncicmp 00042 #define _ftcsnicmp _tcsnicmp 00043 00044 #define _ftcscoll _tcscoll 00045 #define _ftcsicoll _tcsicoll 00046 #define _ftcsnccoll _tcsnccoll 00047 #define _ftcsncoll _tcsncoll 00048 #define _ftcsncicoll _tcsncicoll 00049 #define _ftcsnicoll _tcsnicoll 00050 00051 #define _ftcsclen _tcsclen 00052 #define _ftcsnccat _tcsnccat 00053 #define _ftcsnccpy _tcsnccpy 00054 #define _ftcsncset _tcsncset 00055 00056 #define _ftcsdec _tcsdec 00057 #define _ftcsinc _tcsinc 00058 #define _ftcsnbcnt _tcsnbcnt 00059 #define _ftcsnccnt _tcsnccnt 00060 #define _ftcsnextc _tcsnextc 00061 #define _ftcsninc _tcsninc 00062 #define _ftcsspnp _tcsspnp 00063 00064 #define _ftcslwr _tcslwr 00065 #define _ftcsupr _tcsupr 00066 00067 #define _ftclen _tclen 00068 #define _ftccpy _tccpy 00069 #define _ftccmp _tccmp 00070 00071 #ifndef _CONST_RETURN 00072 #ifdef __cplusplus 00073 #define _CONST_RETURN const 00074 #define _CRT_CONST_CORRECT_OVERLOADS 00075 #else 00076 #define _CONST_RETURN 00077 #endif 00078 #endif 00079 00080 #define _WConst_return _CONST_RETURN 00081 00082 #ifdef __cplusplus 00083 } 00084 #endif 00085 00086 00087 #ifdef _UNICODE 00088 00090 #include <wchar.h> 00091 00092 #ifdef __cplusplus 00093 extern "C" { 00094 #endif 00095 00096 #ifndef _WCTYPE_T_DEFINED 00097 #define _WCTYPE_T_DEFINED 00098 typedef unsigned short wint_t; 00099 typedef unsigned short wctype_t; 00100 #endif 00101 00102 #ifndef __TCHAR_DEFINED 00103 #define __TCHAR_DEFINED 00104 typedef wchar_t _TCHAR; 00105 typedef wchar_t _TSCHAR; 00106 typedef wchar_t _TUCHAR; 00107 typedef wchar_t _TXCHAR; 00108 typedef wint_t _TINT; 00109 #endif 00110 00111 #ifndef NO_OLDNAMES 00112 #ifndef _TCHAR_DEFINED 00113 #define _TCHAR_DEFINED 00114 typedef wchar_t TCHAR,*PTCHAR; 00115 typedef wchar_t TBYTE,*PTBYTE; 00116 #endif 00117 #endif 00118 00119 #define _TEOF WEOF 00120 00121 #define __T(x) L##x 00122 00123 #define _tmain wmain 00124 #define _tWinMain wWinMain 00125 #define _tenviron _wenviron 00126 #define __targv __wargv 00127 00128 #define _tprintf wprintf 00129 #define _tprintf_l _wprintf_l 00130 #define _tprintf_p _wprintf_p 00131 #define _tprintf_p_l _wprintf_p_l 00132 #define _tcprintf _cwprintf 00133 #define _tcprintf_l _cwprintf_l 00134 #define _tcprintf_p _cwprintf_p 00135 #define _tcprintf_p_l _cwprintf_p_l 00136 #define _vtcprintf _vcwprintf 00137 #define _vtcprintf_l _vcwprintf_l 00138 #define _vtcprintf_p _vcwprintf_p 00139 #define _vtcprintf_p_l _vcwprintf_p_l 00140 #define _ftprintf fwprintf 00141 #define _ftprintf_l _fwprintf_l 00142 #define _ftprintf_p _fwprintf_p 00143 #define _ftprintf_p_l _fwprintf_p_l 00144 #define _stprintf swprintf 00145 #define _stprintf_l __swprintf_l 00146 #define _stprintf_p _swprintf_p 00147 #define _stprintf_p_l _swprintf_p_l 00148 #define _sctprintf _scwprintf 00149 #define _sctprintf_l _scwprintf_l 00150 #define _sctprintf_p _scwprintf_p 00151 #define _sctprintf_p_l _scwprintf_p_l 00152 #define _sntprintf _snwprintf 00153 #define _sntprintf_l _snwprintf_l 00154 #define _vtprintf vwprintf 00155 #define _vtprintf_l _vwprintf_l 00156 #define _vtprintf_p _vwprintf_p 00157 #define _vtprintf_p_l _vwprintf_p_l 00158 #define _vftprintf vfwprintf 00159 #define _vftprintf_l _vfwprintf_l 00160 #define _vftprintf_p _vfwprintf_p 00161 #define _vftprintf_p_l _vfwprintf_p_l 00162 #define _vstprintf vswprintf 00163 #define _vstprintf_l _vswprintf_l 00164 #define _vstprintf_p _vswprintf_p 00165 #define _vstprintf_p_l _vswprintf_p_l 00166 #define _vsctprintf _vscwprintf 00167 #define _vsctprintf_l _vscwprintf_l 00168 #define _vsctprintf_p _vscwprintf_p 00169 #define _vsctprintf_p_l _vscwprintf_p_l 00170 #define _vsntprintf _vsnwprintf 00171 #define _vsntprintf_l _vsnwprintf_l 00172 00173 #define _tscanf wscanf 00174 #define _tscanf_l _wscanf_l 00175 #define _tcscanf _cwscanf 00176 #define _tcscanf_l _cwscanf_l 00177 #define _ftscanf fwscanf 00178 #define _ftscanf_l _fwscanf_l 00179 #define _stscanf swscanf 00180 #define _stscanf_l _swscanf_l 00181 #define _sntscanf _snwscanf 00182 #define _sntscanf_l _snwscanf_l 00183 00184 #define _fgettc fgetwc 00185 #define _fgettc_nolock _fgetwc_nolock 00186 #define _fgettchar _fgetwchar 00187 #define _fgetts fgetws 00188 #define _fputtc fputwc 00189 #define _fputtc_nolock _fputwc_nolock 00190 #define _fputtchar _fputwchar 00191 #define _fputts fputws 00192 #define _cputts _cputws 00193 #define _cgetts _cgetws 00194 #define _gettc getwc 00195 #define _gettc_nolock _getwc_nolock 00196 #define _gettch _getwch 00197 #define _gettch_nolock _getwch_nolock 00198 #define _gettche _getwche 00199 #define _gettche_nolock _getwche_nolock 00200 #define _gettchar getwchar 00201 #define _gettchar_nolock _getwchar_nolock 00202 #define _getts _getws 00203 #define _puttc putwc 00204 #define _puttc_nolock _putwc_nolock 00205 #define _puttchar putwchar 00206 #define _puttchar_nolock _putwchar_nolock 00207 #define _puttch _putwch 00208 #define _puttch_nolock _putwch_nolock 00209 #define _putts _putws 00210 #define _ungettc ungetwc 00211 #define _ungettc_nolock _ungetwc_nolock 00212 #define _ungettch _ungetwch 00213 #define _ungettch_nolock _ungetwch_nolock 00214 00215 #define _tcstod wcstod 00216 #define _tcstol wcstol 00217 #define _tcstoul wcstoul 00218 #define _tcstoi64 _wcstoi64 00219 #define _tcstoui64 _wcstoui64 00220 #define _tstof _wtof 00221 #define _tstol _wtol 00222 #define _tstoi _wtoi 00223 #define _tstoi64 _wtoi64 00224 #define _tcstod_l _wcstod_l 00225 #define _tcstol_l _wcstol_l 00226 #define _tcstoul_l _wcstoul_l 00227 #define _tcstoi64_l _wcstoi64_l 00228 #define _tcstoui64_l _wcstoui64_l 00229 #define _tstof_l _wtof_l 00230 #define _tstol_l _wtol_l 00231 #define _tstoi_l _wtoi_l 00232 #define _tstoi64_l _wtoi64_l 00233 00234 #define _itot _itow 00235 #define _ltot _ltow 00236 #define _ultot _ultow 00237 #define _ttoi _wtoi 00238 #define _ttol _wtol 00239 00240 #define _ttoi64 _wtoi64 00241 #define _i64tot _i64tow 00242 #define _ui64tot _ui64tow 00243 00244 #define _tcscat wcscat 00245 #define _tcschr wcschr 00246 #define _tcscpy wcscpy 00247 #define _tcscpy_s wcscpy_s 00248 #define _tcscspn wcscspn 00249 #define _tcslen wcslen 00250 #define _tcsnlen wcsnlen 00251 #define _tcsncat wcsncat 00252 #define _tcsncat_l _wcsncat_l 00253 #define _tcsncpy wcsncpy 00254 #define _tcsncpy_l _wcsncpy_l 00255 #define _tcspbrk wcspbrk 00256 #define _tcsrchr wcsrchr 00257 #define _tcsspn wcsspn 00258 #define _tcsstr wcsstr 00259 #define _tcstok wcstok 00260 #define _tcstok_l _wcstok_l 00261 #define _tcserror _wcserror 00262 #define __tcserror __wcserror 00263 00264 #define _tcsdup _wcsdup 00265 #define _tcsnset _wcsnset 00266 #define _tcsnset_l _wcsnset_l 00267 #define _tcsrev _wcsrev 00268 #define _tcsset _wcsset 00269 #define _tcsset_l _wcsset_l 00270 00271 #define _tcscmp wcscmp 00272 #define _tcsicmp _wcsicmp 00273 #define _tcsicmp_l _wcsicmp_l 00274 #define _tcsnccmp wcsncmp 00275 #define _tcsncmp wcsncmp 00276 #define _tcsncicmp _wcsnicmp 00277 #define _tcsncicmp_l _wcsnicmp_l 00278 #define _tcsnicmp _wcsnicmp 00279 #define _tcsnicmp_l _wcsnicmp_l 00280 00281 #define _tcscoll wcscoll 00282 #define _tcscoll_l _wcscoll_l 00283 #define _tcsicoll _wcsicoll 00284 #define _tcsicoll_l _wcsicoll_l 00285 #define _tcsnccoll _wcsncoll 00286 #define _tcsnccoll_l _wcsncoll_l 00287 #define _tcsncoll _wcsncoll 00288 #define _tcsncoll_l _wcsncoll_l 00289 #define _tcsncicoll _wcsnicoll 00290 #define _tcsncicoll_l _wcsnicoll_l 00291 #define _tcsnicoll _wcsnicoll 00292 #define _tcsnicoll_l _wcsnicoll_l 00293 00294 #define _texecl _wexecl 00295 #define _texecle _wexecle 00296 #define _texeclp _wexeclp 00297 #define _texeclpe _wexeclpe 00298 #define _texecv _wexecv 00299 #define _texecve _wexecve 00300 #define _texecvp _wexecvp 00301 #define _texecvpe _wexecvpe 00302 00303 #define _tspawnl _wspawnl 00304 #define _tspawnle _wspawnle 00305 #define _tspawnlp _wspawnlp 00306 #define _tspawnlpe _wspawnlpe 00307 #define _tspawnv _wspawnv 00308 #define _tspawnve _wspawnve 00309 #define _tspawnvp _wspawnvp 00310 #define _tspawnvp _wspawnvp 00311 #define _tspawnvpe _wspawnvpe 00312 00313 #define _tsystem _wsystem 00314 00315 #define _tasctime _wasctime 00316 #define _tctime _wctime 00317 #define _tctime32 _wctime32 00318 #define _tctime64 _wctime64 00319 #define _tstrdate _wstrdate 00320 #define _tstrtime _wstrtime 00321 #define _tutime _wutime 00322 #define _tutime32 _wutime32 00323 #define _tutime64 _wutime64 00324 #define _tcsftime wcsftime 00325 #define _tcsftime_l _wcsftime_l 00326 00327 #define _tasctime_s _wasctime_s 00328 #define _tctime_s _wctime_s 00329 #define _tctime32_s _wctime32_s 00330 #define _tctime64_s _wctime64_s 00331 #define _tstrdate_s _wstrdate_s 00332 #define _tstrtime_s _wstrtime_s 00333 00334 #define _tchdir _wchdir 00335 #define _tgetcwd _wgetcwd 00336 #define _tgetdcwd _wgetdcwd 00337 #define _tgetdcwd_nolock _wgetdcwd_nolock 00338 #define _tmkdir _wmkdir 00339 #define _trmdir _wrmdir 00340 00341 #define _tfullpath _wfullpath 00342 #define _tgetenv _wgetenv 00343 #define _tmakepath _wmakepath 00344 #define _tpgmptr _wpgmptr 00345 #define _get_tpgmptr _get_wpgmptr 00346 #define _tputenv _wputenv 00347 #define _tsearchenv _wsearchenv 00348 #define _tsplitpath _wsplitpath 00349 #define _tsplitpath_s _wsplitpath_s 00350 00351 #define _tfdopen _wfdopen 00352 #define _tfsopen _wfsopen 00353 #define _tfopen _wfopen 00354 #define _tfreopen _wfreopen 00355 #define _tperror _wperror 00356 #define _tpopen _wpopen 00357 #define _ttempnam _wtempnam 00358 #define _ttmpnam _wtmpnam 00359 00360 #define _taccess _waccess 00361 #define _tchmod _wchmod 00362 #define _tcreat _wcreat 00363 #define _tfindfirst _wfindfirst 00364 #define _tfindfirst32 _wfindfirst32 00365 #define _tfindfirst64 _wfindfirst64 00366 #define _tfindfirsti64 _wfindfirsti64 00367 #define _tfindfirst32i64 _wfindfirst32i64 00368 #define _tfindfirst64i32 _wfindfirst64i32 00369 #define _tfindnext _wfindnext 00370 #define _tfindnext32 _wfindnext32 00371 #define _tfindnext64 _wfindnext64 00372 #define _tfindnexti64 _wfindnexti64 00373 #define _tfindnext32i64 _wfindnext32i64 00374 #define _tfindnext64i32 _wfindnext64i32 00375 #define _tmktemp _wmktemp 00376 #define _topen _wopen 00377 #define _tremove _wremove 00378 #define _trename _wrename 00379 #define _tsopen _wsopen 00380 #define _tunlink _wunlink 00381 00382 #define _tfinddata_t _wfinddata_t 00383 #define _tfinddata32_t _wfinddata32_t 00384 #define _tfinddata64_t _wfinddata64_t 00385 #define _tfinddatai64_t _wfinddatai64_t 00386 #define _tfinddata32i64_t _wfinddata32i64_t 00387 #define _tfinddata64i32_t _wfinddata64i32_t 00388 00389 #define _tstat _wstat 00390 #define _tstat32 _wstat32 00391 #define _tstat32i64 _wstat32i64 00392 #define _tstat64 _wstat64 00393 #define _tstat64i32 _wstat64i32 00394 #define _tstati64 _wstati64 00395 00396 #define _tsetlocale _wsetlocale 00397 00398 #define _tcsclen wcslen 00399 #define _tcscnlen wcsnlen 00400 #define _tcsclen_l(_String,_Locale) wcslen(_String) 00401 #define _tcscnlen_l(_String,_Max_count,_Locale) wcsnlen_l((_String),(_Max_count)) 00402 #define _tcsnccat wcsncat 00403 #define _tcsnccat_l _wcsncat_l 00404 #define _tcsnccpy wcsncpy 00405 #define _tcsnccpy_l _wcsncpy_l 00406 #define _tcsncset _wcsnset 00407 00408 #define _tcsdec _wcsdec 00409 #define _tcsinc _wcsinc 00410 #define _tcsnbcnt _wcsncnt 00411 #define _tcsnccnt _wcsncnt 00412 #define _tcsnextc _wcsnextc 00413 #define _tcsninc _wcsninc 00414 #define _tcsspnp _wcsspnp 00415 00416 #define _tcslwr _wcslwr 00417 #define _tcslwr_l _wcslwr_l 00418 #define _tcsupr _wcsupr 00419 #define _tcsupr_l _wcsupr_l 00420 #define _tcsxfrm wcsxfrm 00421 #define _tcsxfrm_l _wcsxfrm_l 00422 00423 #define _tclen(_pc) (1) 00424 #define _tccpy(_pc1,_cpc2) ((*(_pc1) = *(_cpc2))) 00425 #define _tccmp(_cpc1,_cpc2) ((*(_cpc1))-(*(_cpc2))) 00426 00427 #define _istalnum iswalnum 00428 #define _istalnum_l _iswalnum_l 00429 #define _istalpha iswalpha 00430 #define _istalpha_l _iswalpha_l 00431 #define _istascii iswascii 00432 #define _istcntrl iswcntrl 00433 #define _istcntrl_l _iswcntrl_l 00434 #define _istdigit iswdigit 00435 #define _istdigit_l _iswdigit_l 00436 #define _istgraph iswgraph 00437 #define _istgraph_l _iswgraph_l 00438 #define _istlower iswlower 00439 #define _istlower_l _iswlower_l 00440 #define _istprint iswprint 00441 #define _istprint_l _iswprint_l 00442 #define _istpunct iswpunct 00443 #define _istpunct_l _iswpunct_l 00444 #define _istspace iswspace 00445 #define _istspace_l _iswspace_l 00446 #define _istupper iswupper 00447 #define _istupper_l _iswupper_l 00448 #define _istxdigit iswxdigit 00449 #define _istxdigit_l _iswxdigit_l 00450 00451 #define _totupper towupper 00452 #define _totupper_l _towupper_l 00453 #define _totlower towlower 00454 #define _totlower_l _towlower_l 00455 00456 #define _istlegal(_Char) (1) 00457 #define _istlead(_Char) (0) 00458 #define _istleadbyte(_Char) (0) 00459 #define _istleadbyte_l(_Char,_Locale) (0) 00460 00461 #define _wcsdec(_cpc1,_cpc2) ((_cpc1)>=(_cpc2) ? NULL : (_cpc2)-1) 00462 #define _wcsinc(_pc) ((_pc)+1) 00463 #define _wcsnextc(_cpc) ((unsigned int) *(_cpc)) 00464 #define _wcsninc(_pc,_sz) (((_pc)+(_sz))) 00465 _CRTIMP size_t __cdecl __wcsncnt(const wchar_t *_Str,size_t _MaxCount); 00466 #define _wcsncnt(_cpc,_sz) (__wcsncnt(_cpc,_sz)) 00467 #define _wcsspnp(_cpc1,_cpc2) (!_cpc1 ? NULL : ((*((_cpc1)+wcsspn(_cpc1,_cpc2))) ? ((_cpc1)+wcsspn(_cpc1,_cpc2)) : NULL)) 00468 #define _wcsncpy_l(_Destination,_Source,_Count,_Locale) (wcsncpy(_Destination,_Source,_Count)) 00469 #define _wcsncat_l(_Destination,_Source,_Count,_Locale) (wcsncat(_Destination,_Source,_Count)) 00470 #define _wcstok_l(_String,_Delimiters,_Locale) (wcstok(_String,_Delimiters)) 00471 #define _wcsnset_l(_Destination,_Value,_Count,_Locale) (_wcsnset(_Destination,_Value,_Count)) 00472 #define _wcsset_l(_Destination,_Value,_Locale) (_wcsset(_Destination,_Value)) 00473 00474 /* dirent structures and functions */ 00475 #define _tdirent _wdirent 00476 #define _TDIR _WDIR 00477 #define _topendir _wopendir 00478 #define _tclosedir _wclosedir 00479 #define _treaddir _wreaddir 00480 #define _trewinddir _wrewinddir 00481 #define _ttelldir _wtelldir 00482 #define _tseekdir _wseekdir 00483 00484 #else 00485 00487 #include <string.h> 00488 00489 #ifdef __cplusplus 00490 extern "C" { 00491 #endif 00492 00493 #define _TEOF EOF 00494 00495 #define __T(x) x 00496 00497 #define _tmain main 00498 #define _tWinMain WinMain 00499 #ifdef _POSIX_ 00500 #define _tenviron environ 00501 #else 00502 #define _tenviron _environ 00503 #endif 00504 #define __targv __argv 00505 00506 #define _tprintf printf 00507 #define _tprintf_l _printf_l 00508 #define _tprintf_p _printf_p 00509 #define _tprintf_p_l _printf_p_l 00510 #define _tcprintf _cprintf 00511 #define _tcprintf_l _cprintf_l 00512 #define _tcprintf_p _cprintf_p 00513 #define _tcprintf_p_l _cprintf_p_l 00514 #define _vtcprintf _vcprintf 00515 #define _vtcprintf_l _vcprintf_l 00516 #define _vtcprintf_p _vcprintf_p 00517 #define _vtcprintf_p_l _vcprintf_p_l 00518 #define _ftprintf fprintf 00519 #define _ftprintf_l _fprintf_l 00520 #define _ftprintf_p _fprintf_p 00521 #define _ftprintf_p_l _fprintf_p_l 00522 #define _stprintf sprintf 00523 #define _stprintf_l _sprintf_l 00524 #define _stprintf_p _sprintf_p 00525 #define _stprintf_p_l _sprintf_p_l 00526 #define _sctprintf _scprintf 00527 #define _sctprintf_l _scprintf_l 00528 #define _sctprintf_p _scprintf_p 00529 #define _sctprintf_p_l _scprintf_p_l 00530 #define _sntprintf _snprintf 00531 #define _sntprintf_l _snprintf_l 00532 #define _vtprintf vprintf 00533 #define _vtprintf_l _vprintf_l 00534 #define _vtprintf_p _vprintf_p 00535 #define _vtprintf_p_l _vprintf_p_l 00536 #define _vftprintf vfprintf 00537 #define _vftprintf_l _vfprintf_l 00538 #define _vftprintf_p _vfprintf_p 00539 #define _vftprintf_p_l _vfprintf_p_l 00540 #define _vstprintf vsprintf 00541 #define _vstprintf_l _vsprintf_l 00542 #define _vstprintf_p _vsprintf_p 00543 #define _vstprintf_p_l _vsprintf_p_l 00544 #define _vsctprintf _vscprintf 00545 #define _vsctprintf_l _vscprintf_l 00546 #define _vsctprintf_p _vscprintf_p 00547 #define _vsctprintf_p_l _vscprintf_p_l 00548 #define _vsntprintf _vsnprintf 00549 #define _vsntprintf_l _vsnprintf_l 00550 00551 #define _tscanf scanf 00552 #define _tscanf_l _scanf_l 00553 #define _tcscanf _cscanf 00554 #define _tcscanf_l _cscanf_l 00555 #define _ftscanf fscanf 00556 #define _ftscanf_l _fscanf_l 00557 #define _stscanf sscanf 00558 #define _stscanf_l _sscanf_l 00559 #define _sntscanf _snscanf 00560 #define _sntscanf_l _snscanf_l 00561 00562 #define _fgettc fgetc 00563 #define _fgettc_nolock _fgetc_nolock 00564 #define _fgettchar _fgetchar 00565 #define _fgetts fgets 00566 #define _fputtc fputc 00567 #define _fputtc_nolock _fputc_nolock 00568 #define _fputtchar _fputchar 00569 #define _fputts fputs 00570 #define _cputts _cputs 00571 #define _gettc getc 00572 #define _gettc_nolock _getc_nolock 00573 #define _gettch _getch 00574 #define _gettch_nolock _getch_nolock 00575 #define _gettche _getche 00576 #define _gettche_nolock _getche_nolock 00577 #define _gettchar getchar 00578 #define _gettchar_nolock _getchar_nolock 00579 #define _getts gets 00580 #define _cgetts _cgets 00581 #define _puttc putc 00582 #define _puttc_nolock _putc_nolock 00583 #define _puttchar putchar 00584 #define _puttchar_nolock _putchar_nolock 00585 #define _puttch _putch 00586 #define _puttch_nolock _putch_nolock 00587 #define _putts puts 00588 #define _ungettc ungetc 00589 #define _ungettc_nolock _ungetc_nolock 00590 #define _ungettch _ungetch 00591 #define _ungettch_nolock _ungetch_nolock 00592 00593 #define _tcstod strtod 00594 #define _tcstol strtol 00595 #define _tcstoul strtoul 00596 #define _tstof atof 00597 #define _tstol atol 00598 #define _tstoi atoi 00599 #define _tstoi64 _atoi64 00600 #define _tcstod_l _strtod_l 00601 #define _tcstol_l _strtol_l 00602 #define _tcstoul_l _strtoul_l 00603 #define _tstof_l _atof_l 00604 #define _tstol_l _atol_l 00605 #define _tstoi_l _atoi_l 00606 #define _tstoi64_l _atoi64_l 00607 00608 #define _itot _itoa 00609 #define _ltot _ltoa 00610 #define _ultot _ultoa 00611 #define _ttoi atoi 00612 #define _ttol atol 00613 00614 #define _ttoi64 _atoi64 00615 #define _tcstoi64 _strtoi64 00616 #define _tcstoi64_l _strtoi64_l 00617 #define _tcstoui64 _strtoui64 00618 #define _tcstoui64_l _strtoui64_l 00619 #define _i64tot _i64toa 00620 #define _ui64tot _ui64toa 00621 00622 #define _tcscat strcat 00623 #define _tcscpy strcpy 00624 #define _tcscpy_s strcpy_s 00625 #define _tcsdup _strdup 00626 #define _tcslen strlen 00627 #define _tcsnlen strnlen 00628 #define _tcsxfrm strxfrm 00629 #define _tcsxfrm_l _strxfrm_l 00630 #define _tcserror strerror 00631 #define __tcserror _strerror 00632 00633 #define _texecl _execl 00634 #define _texecle _execle 00635 #define _texeclp _execlp 00636 #define _texeclpe _execlpe 00637 #define _texecv _execv 00638 #define _texecve _execve 00639 #define _texecvp _execvp 00640 #define _texecvpe _execvpe 00641 00642 #define _tspawnl _spawnl 00643 #define _tspawnle _spawnle 00644 #define _tspawnlp _spawnlp 00645 #define _tspawnlpe _spawnlpe 00646 #define _tspawnv _spawnv 00647 #define _tspawnve _spawnve 00648 #define _tspawnvp _spawnvp 00649 #define _tspawnvpe _spawnvpe 00650 00651 #define _tsystem system 00652 00653 #define _tasctime asctime 00654 #define _tctime ctime 00655 #define _tctime32 _ctime32 00656 #define _tctime64 _ctime64 00657 #define _tstrdate _strdate 00658 #define _tstrtime _strtime 00659 #define _tutime _utime 00660 #define _tutime32 _utime32 00661 #define _tutime64 _utime64 00662 #define _tcsftime strftime 00663 #define _tcsftime_l _strftime_l 00664 00665 #define _tasctime_s asctime_s 00666 #define _tctime_s ctime_s 00667 #define _tctime32_s _ctime32_s 00668 #define _tctime64_s _ctime64_s 00669 #define _tstrdate_s _strdate_s 00670 #define _tstrtime_s _strtime_s 00671 00672 #define _tchdir _chdir 00673 #define _tgetcwd _getcwd 00674 #define _tgetdcwd _getdcwd 00675 #define _tgetdcwd_nolock _getdcwd_nolock 00676 #define _tmkdir _mkdir 00677 #define _trmdir _rmdir 00678 00679 #define _tfullpath _fullpath 00680 #define _tgetenv getenv 00681 #define _tmakepath _makepath 00682 #define _tpgmptr _pgmptr 00683 #define _get_tpgmptr _get_pgmptr 00684 #define _tputenv _putenv 00685 #define _tsearchenv _searchenv 00686 #define _tsplitpath _splitpath 00687 #define _tsplitpath_s _splitpath_s 00688 00689 #ifdef _POSIX_ 00690 #define _tfdopen fdopen 00691 #else 00692 #define _tfdopen _fdopen 00693 #endif 00694 #define _tfsopen _fsopen 00695 #define _tfopen fopen 00696 #define _tfreopen freopen 00697 #define _tperror perror 00698 #define _tpopen _popen 00699 #define _ttempnam _tempnam 00700 #define _ttmpnam tmpnam 00701 00702 #define _tchmod _chmod 00703 #define _tcreat _creat 00704 #define _tfindfirst _findfirst 00705 #define _tfindfirst32 _findfirst32 00706 #define _tfindfirst64 _findfirst64 00707 #define _tfindfirsti64 _findfirsti64 00708 #define _tfindfirst32i64 _findfirst32i64 00709 #define _tfindfirst64i32 _findfirst64i32 00710 #define _tfindnext _findnext 00711 #define _tfindnext32 _findnext32 00712 #define _tfindnext64 _findnext64 00713 #define _tfindnexti64 _findnexti64 00714 #define _tfindnext32i64 _findnext32i64 00715 #define _tfindnext64i32 _findnext64i32 00716 #define _tmktemp _mktemp 00717 00718 #ifdef _POSIX_ 00719 #define _topen open 00720 #define _taccess access 00721 #else 00722 #define _topen _open 00723 #define _taccess _access 00724 #endif 00725 00726 #define _tremove remove 00727 #define _trename rename 00728 #define _tsopen _sopen 00729 #define _tunlink _unlink 00730 00731 #define _tfinddata_t _finddata_t 00732 #define _tfinddata32_t _finddata32_t 00733 #define _tfinddata64_t __finddata64_t 00734 #define _tfinddatai64_t _finddatai64_t 00735 #define _tfinddata32i64_t _finddata32i64_t 00736 #define _tfinddata64i32_t _finddata64i32_t 00737 00738 #define _istascii __isascii 00739 #define _istcntrl iscntrl 00740 #define _istcntrl_l _iscntrl_l 00741 #define _istxdigit isxdigit 00742 #define _istxdigit_l _isxdigit_l 00743 00744 #define _tstat _stat 00745 #define _tstat32 _stat32 00746 #define _tstat32i64 _stat32i64 00747 #define _tstat64 _stat64 00748 #define _tstat64i32 _stat64i32 00749 #define _tstati64 _stati64 00750 00751 #define _tsetlocale setlocale 00752 00753 #ifdef _MBCS 00754 00756 #ifdef __cplusplus 00757 } 00758 #endif 00759 00760 #include <mbstring.h> 00761 00762 #ifdef __cplusplus 00763 extern "C" { 00764 #endif 00765 00766 #ifndef __TCHAR_DEFINED 00767 typedef char _TCHAR; 00768 typedef signed char _TSCHAR; 00769 typedef unsigned char _TUCHAR; 00770 typedef unsigned char _TXCHAR; 00771 typedef unsigned int _TINT; 00772 #define __TCHAR_DEFINED 00773 #endif 00774 00775 #ifndef NO_OLDNAMES 00776 #ifndef _TCHAR_DEFINED 00777 #define _TCHAR_DEFINED 00778 typedef char TCHAR,*PTCHAR; 00779 typedef unsigned char TBYTE,*PTBYTE; 00780 #endif 00781 #endif 00782 00783 #ifdef _MB_MAP_DIRECT 00784 00785 #define _tcschr _mbschr 00786 #define _tcscspn _mbscspn 00787 #define _tcsncat _mbsnbcat 00788 #define _tcsncat_l _mbsnbcat_l 00789 #define _tcsncpy _mbsnbcpy 00790 #define _tcsncpy_l _mbsnbcpy_l 00791 #define _tcspbrk _mbspbrk 00792 #define _tcsrchr _mbsrchr 00793 #define _tcsspn _mbsspn 00794 #define _tcsstr _mbsstr 00795 #define _tcstok _mbstok 00796 #define _tcstok_l _mbstok_l 00797 00798 #define _tcsnset _mbsnbset 00799 #define _tcsnset_l _mbsnbset_l 00800 #define _tcsrev _mbsrev 00801 #define _tcsset _mbsset 00802 #define _tcsset_l _mbsset_l 00803 00804 #define _tcscmp _mbscmp 00805 #define _tcsicmp _mbsicmp 00806 #define _tcsicmp_l _mbsicmp_l 00807 #define _tcsnccmp _mbsncmp 00808 #define _tcsncmp _mbsnbcmp 00809 #define _tcsncicmp _mbsnicmp 00810 #define _tcsncicmp_l _mbsnicmp_l 00811 #define _tcsnicmp _mbsnbicmp 00812 #define _tcsnicmp_l _mbsnbicmp_l 00813 00814 #define _tcscoll _mbscoll 00815 #define _tcscoll_l _mbscoll_l 00816 #define _tcsicoll _mbsicoll 00817 #define _tcsicoll_l _mbsicoll_l 00818 #define _tcsnccoll _mbsncoll 00819 #define _tcsnccoll_l _mbsncoll_l 00820 #define _tcsncoll _mbsnbcoll 00821 #define _tcsncoll_l _mbsnbcoll_l 00822 #define _tcsncicoll _mbsnicoll 00823 #define _tcsncicoll_l _mbsnicoll_l 00824 #define _tcsnicoll _mbsnbicoll 00825 #define _tcsnicoll_l _mbsnbicoll_l 00826 00827 #define _tcsclen _mbslen 00828 #define _tcscnlen _mbsnlen 00829 #define _tcsclen_l _mbslen_l 00830 #define _tcscnlen_l _mbsnlen_l 00831 #define _tcsnccat _mbsncat 00832 #define _tcsnccat_l _mbsncat_l 00833 #define _tcsnccpy _mbsncpy 00834 #define _tcsnccpy_l _mbsncpy_l 00835 #define _tcsncset _mbsnset 00836 #define _tcsncset_l _mbsnset_l 00837 00838 #define _tcsdec _mbsdec 00839 #define _tcsinc _mbsinc 00840 #define _tcsnbcnt _mbsnbcnt 00841 #define _tcsnccnt _mbsnccnt 00842 #define _tcsnextc _mbsnextc 00843 #define _tcsninc _mbsninc 00844 #define _tcsspnp _mbsspnp 00845 00846 #define _tcslwr _mbslwr 00847 #define _tcslwr_l _mbslwr_l 00848 #define _tcsupr _mbsupr 00849 #define _tcsupr_l _mbsupr_l 00850 00851 #define _tclen _mbclen 00852 #define _tccpy _mbccpy 00853 #define _tccpy_l _mbccpy_l 00854 00855 00856 #else /* !_MB_MAP_DIRECT */ 00857 00858 _CRTIMP _CONST_RETURN char *__cdecl _tcschr(const char *_Str,unsigned int _Val); 00859 _CRTIMP size_t __cdecl _tcscspn(const char *_Str,const char *_Control); 00860 _CRTIMP char *__cdecl _tcsncat(char *_Dst,const char *_Src,size_t _MaxCount); 00861 _CRTIMP char *__cdecl _tcsncat_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale); 00862 _CRTIMP char *__cdecl _tcsncpy(char *_Dst,const char *_Src,size_t _MaxCount); 00863 _CRTIMP char *__cdecl _tcsncpy_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale); 00864 _CRTIMP _CONST_RETURN char *__cdecl _tcspbrk(const char *_Str,const char *_Control); 00865 _CRTIMP _CONST_RETURN char *__cdecl _tcsrchr(const char *_Str,unsigned int _Ch); 00866 _CRTIMP size_t __cdecl _tcsspn(const char *_Str,const char *_Control); 00867 _CRTIMP _CONST_RETURN char *__cdecl _tcsstr(const char *_Str,const char *_Substr); 00868 _CRTIMP char *__cdecl _tcstok(char *_Str,const char *_Delim); 00869 _CRTIMP char *__cdecl _tcstok_l(char *_Str,const char *_Delim,_locale_t _Locale); 00870 _CRTIMP char *__cdecl _tcsnset(char *_Str,unsigned int _Val,size_t _MaxCount); 00871 _CRTIMP char *__cdecl _tcsrev(char *_Str); 00872 _CRTIMP char *__cdecl _tcsset(char *_Str,unsigned int _Val); 00873 _CRTIMP char *__cdecl _tcsset_l(char *_Str,unsigned int _Val,_locale_t _Locale); 00874 _CRTIMP int __cdecl _tcscmp(const char *_Str1,const char *_Str); 00875 _CRTIMP int __cdecl _tcsicmp(const char *_Str1,const char *_Str2); 00876 _CRTIMP int __cdecl _tcsicmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale); 00877 _CRTIMP int __cdecl _tcsnccmp(const char *_Str1,const char *_Str2,size_t _MaxCount); 00878 _CRTIMP int __cdecl _tcsncmp(const char *_Str1,const char *_Str2,size_t _MaxCount); 00879 _CRTIMP int __cdecl _tcsncicmp(const char *_Str1,const char *_Str2,size_t _MaxCount); 00880 _CRTIMP int __cdecl _tcsncicmp_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00881 _CRTIMP int __cdecl _tcsnicmp(const char *_Str1,const char *_Str2,size_t _MaxCount); 00882 _CRTIMP int __cdecl _tcsnicmp_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00883 _CRTIMP int __cdecl _tcscoll(const char *_Str1,const char *_Str2); 00884 _CRTIMP int __cdecl _tcscoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); 00885 _CRTIMP int __cdecl _tcsicoll(const char *_Str1,const char *_Str2); 00886 _CRTIMP int __cdecl _tcsicoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); 00887 _CRTIMP int __cdecl _tcsnccoll(const char *_Str1,const char *_Str2,size_t _MaxCount); 00888 _CRTIMP int __cdecl _tcsnccoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00889 _CRTIMP int __cdecl _tcsncoll(const char *_Str1,const char *_Str2,size_t _MaxCount); 00890 _CRTIMP int __cdecl _tcsncoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00891 _CRTIMP int __cdecl _tcsncicoll(const char *_Str1,const char *_Str2,size_t _MaxCount); 00892 _CRTIMP int __cdecl _tcsncicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00893 _CRTIMP int __cdecl _tcsnicoll(const char *_Str1,const char *_Str2,size_t _MaxCount); 00894 _CRTIMP int __cdecl _tcsnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); 00895 _CRTIMP size_t __cdecl _tcsclen(const char *_Str); 00896 _CRTIMP size_t __cdecl _tcscnlen(const char *_Str,size_t _MaxCount); 00897 _CRTIMP size_t __cdecl _tcsclen_l(const char *_Str,_locale_t _Locale); 00898 _CRTIMP size_t __cdecl _tcscnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); 00899 _CRTIMP char *__cdecl _tcsnccat(char *_Dst,const char *_Src,size_t _MaxCount); 00900 _CRTIMP char *__cdecl _tcsnccat_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale); 00901 _CRTIMP char *__cdecl _tcsnccpy(char *_Dst,const char *_Src,size_t _MaxCount); 00902 _CRTIMP char *__cdecl _tcsnccpy_l(char *_Dst,const char *_Src,size_t _MaxCount,_locale_t _Locale); 00903 _CRTIMP char *__cdecl _tcsncset(char *_Str,unsigned int _Val,size_t _MaxCount); 00904 _CRTIMP char *__cdecl _tcsdec(const char *_Start,const char *_Pos); 00905 _CRTIMP char *__cdecl _tcsinc(const char *_Ptr); 00906 _CRTIMP size_t __cdecl _tcsnbcnt(const char *_Str,size_t _MaxCount); 00907 _CRTIMP size_t __cdecl _tcsnccnt(const char *_Str,size_t _MaxCount); 00908 _CRTIMP unsigned int __cdecl _tcsnextc (const char *_Str); 00909 _CRTIMP char *__cdecl _tcsninc(const char *_Ptr,size_t _Count); 00910 _CRTIMP char *__cdecl _tcsspnp(const char *_Str1,const char *_Str2); 00911 _CRTIMP char *__cdecl _tcslwr(char *_Str); 00912 _CRTIMP char *__cdecl _tcslwr_l(char *_Str,_locale_t _Locale); 00913 _CRTIMP char *__cdecl _tcsupr(char *_Str); 00914 _CRTIMP char *__cdecl _tcsupr_l(char *_Str,_locale_t _Locale); 00915 _CRTIMP size_t __cdecl _tclen(const char *_Str); 00916 _CRTIMP void __cdecl _tccpy(char *_DstCh,const char *_SrcCh); 00917 00918 #ifdef __cplusplus 00919 #ifndef _CPP_TCHAR_INLINES_DEFINED 00920 #define _CPP_TCHAR_INLINES_DEFINED 00921 extern "C++" { 00922 extern inline char *__cdecl _tcschr(char *_S,unsigned int _C) { return ((char *)_tcschr((const char *)_S,_C)); } 00923 extern inline char *__cdecl _tcspbrk(char *_S,const char *_P) { return ((char *)_tcspbrk((const char *)_S,_P)); } 00924 extern inline char *__cdecl _tcsrchr(char *_S,unsigned int _C) { return ((char *)_tcsrchr((const char *)_S,_C)); } 00925 extern inline char *__cdecl _tcsstr(char *_S,const char *_P) { return ((char *)_tcsstr((const char *)_S,_P)); } 00926 } 00927 #endif 00928 #endif 00929 #endif 00930 00931 #define _tccmp(_cp1,_cp2) _tcsnccmp(_cp1,_cp2,1) 00932 00933 #define _istalnum _ismbcalnum 00934 #define _istalnum_l _ismbcalnum_l 00935 #define _istalpha _ismbcalpha 00936 #define _istalpha_l _ismbcalpha_l 00937 #define _istdigit _ismbcdigit 00938 #define _istdigit_l _ismbcdigit_l 00939 #define _istgraph _ismbcgraph 00940 #define _istgraph_l _ismbcgraph_l 00941 #define _istlegal _ismbclegal 00942 #define _istlegal_l _ismbclegal_l 00943 #define _istlower _ismbclower 00944 #define _istlower_l _ismbclower_l 00945 #define _istprint _ismbcprint 00946 #define _istprint_l _ismbcprint_l 00947 #define _istpunct _ismbcpunct 00948 #define _istpunct_l _ismbcpunct_l 00949 #define _istspace _ismbcspace 00950 #define _istspace_l _ismbcspace_l 00951 #define _istupper _ismbcupper 00952 #define _istupper_l _ismbcupper_l 00953 00954 #define _totupper _mbctoupper 00955 #define _totupper_l _mbctoupper_l 00956 #define _totlower _mbctolower 00957 #define _totlower_l _mbctolower_l 00958 00959 #define _istlead _ismbblead 00960 #define _istleadbyte isleadbyte 00961 #define _istleadbyte_l _isleadbyte_l 00962 00963 #else /* !_MBCS */ 00964 00966 #ifndef __TCHAR_DEFINED 00967 #define __TCHAR_DEFINED 00968 typedef char _TCHAR; 00969 typedef signed char _TSCHAR; 00970 typedef unsigned char _TUCHAR; 00971 typedef char _TXCHAR; 00972 typedef int _TINT; 00973 #endif 00974 00975 #ifndef _TCHAR_DEFINED 00976 #define _TCHAR_DEFINED 00977 #ifndef NO_OLDNAMES 00978 typedef char TCHAR; 00979 #endif 00980 #endif 00981 00982 #define _tcschr strchr 00983 #define _tcscspn strcspn 00984 #define _tcsncat strncat 00985 #define _tcsncat_l _strncat_l 00986 #define _tcsncpy strncpy 00987 #define _tcsncpy_l _strncpy_l 00988 #define _tcspbrk strpbrk 00989 #define _tcsrchr strrchr 00990 #define _tcsspn strspn 00991 #define _tcsstr strstr 00992 #define _tcstok strtok 00993 #define _tcstok_l _strtok_l 00994 00995 #define _tcsnset _strnset 00996 #define _tcsnset_l _strnset_l 00997 #define _tcsrev _strrev 00998 #define _tcsset _strset 00999 01000 #define _tcscmp strcmp 01001 #define _tcsicmp _stricmp 01002 #define _tcsicmp_l _stricmp_l 01003 #define _tcsnccmp strncmp 01004 #define _tcsncmp strncmp 01005 #define _tcsncicmp _strnicmp 01006 #define _tcsncicmp_l _strnicmp_l 01007 #define _tcsnicmp _strnicmp 01008 #define _tcsnicmp_l _strnicmp_l 01009 01010 #define _tcscoll strcoll 01011 #define _tcscoll_l _strcoll_l 01012 #define _tcsicoll _stricoll 01013 #define _tcsicoll_l _stricoll_l 01014 #define _tcsnccoll _strncoll 01015 #define _tcsnccoll_l _strncoll_l 01016 #define _tcsncoll _strncoll 01017 #define _tcsncoll_l _strncoll_l 01018 #define _tcsncicoll _strnicoll 01019 #define _tcsncicoll_l _strnicoll_l 01020 #define _tcsnicoll _strnicoll 01021 #define _tcsnicoll_l _strnicoll_l 01022 01023 #define _tcsclen strlen 01024 #define _tcscnlen strnlen 01025 #define _tcsclen_l(_String,_Locale) strlen(_String) 01026 #define _tcscnlen_l(_String,_Max_count,_Locale) strnlen_l((_String),(_Max_count)) 01027 #define _tcsnccat strncat 01028 #define _tcsnccat_l _strncat_l 01029 #define _tcsnccpy strncpy 01030 #define _tcsnccpy_l _strncpy_l 01031 #define _tcsncset _strnset 01032 01033 #define _tcsdec _strdec 01034 #define _tcsinc _strinc 01035 #define _tcsnbcnt _strncnt 01036 #define _tcsnccnt _strncnt 01037 #define _tcsnextc _strnextc 01038 #define _tcsninc _strninc 01039 #define _tcsspnp _strspnp 01040 01041 #define _tcslwr _strlwr 01042 #define _tcslwr_l _strlwr_l 01043 #define _tcsupr _strupr 01044 #define _tcsupr_l _strupr_l 01045 #define _tcsxfrm strxfrm 01046 #define _tcsxfrm_l _strxfrm_l 01047 01048 #define _istlead(_Char) (0) 01049 #define _istleadbyte(_Char) (0) 01050 #define _istleadbyte_l(_Char,_Locale) (0) 01051 01052 #define _tclen(_pc) (1) 01053 #define _tccpy(_pc1,_cpc2) (*(_pc1) = *(_cpc2)) 01054 #define _tccmp(_cpc1,_cpc2) (((unsigned char)*(_cpc1))-((unsigned char)*(_cpc2))) 01055 01056 /* dirent structures and functions */ 01057 #define _tdirent dirent 01058 #define _TDIR DIR 01059 #define _topendir opendir 01060 #define _tclosedir closedir 01061 #define _treaddir readdir 01062 #define _trewinddir rewinddir 01063 #define _ttelldir telldir 01064 #define _tseekdir seekdir 01065 01066 #define _istalnum isalnum 01067 #define _istalnum_l _isalnum_l 01068 #define _istalpha isalpha 01069 #define _istalpha_l _isalpha_l 01070 #define _istdigit isdigit 01071 #define _istdigit_l _isdigit_l 01072 #define _istgraph isgraph 01073 #define _istgraph_l _isgraph_l 01074 #define _istlower islower 01075 #define _istlower_l _islower_l 01076 #define _istprint isprint 01077 #define _istprint_l _isprint_l 01078 #define _istpunct ispunct 01079 #define _istpunct_l _ispunct_l 01080 #define _istspace isspace 01081 #define _istspace_l _isspace_l 01082 #define _istupper isupper 01083 #define _istupper_l _isupper_l 01084 01085 #define _totupper toupper 01086 #define _totupper_l _toupper_l 01087 #define _totlower tolower 01088 #define _totlower_l _tolower_l 01089 01090 #define _istlegal(_c) (1) 01091 01092 #ifndef NULL 01093 #ifdef __cplusplus 01094 #define NULL 0 01095 #else 01096 #define NULL ((void *)0) 01097 #endif 01098 #endif 01099 01100 #define _strdec(_cpc1,_cpc2) ((_cpc1)>=(_cpc2) ? NULL : (_cpc2)-1) 01101 #define _strinc(_pc) ((_pc)+1) 01102 #define _strnextc(_cpc) ((unsigned int) *(const unsigned char *)(_cpc)) 01103 #define _strninc(_pc,_sz) (((_pc)+(_sz))) 01104 _CRTIMP size_t __cdecl __strncnt(const char *_Str,size_t _Cnt); 01105 #define _strncnt(_cpc,_sz) (__strncnt(_cpc,_sz)) 01106 #define _strspnp(_cpc1,_cpc2) (!_cpc1 ? NULL : ((*((_cpc1)+strspn(_cpc1,_cpc2))) ? ((_cpc1)+strspn(_cpc1,_cpc2)) : NULL)) 01107 01108 #define _strncpy_l(_Destination,_Source,_Count,_Locale) (strncpy(_Destination,_Source,_Count)) 01109 #define _strncat_l(_Destination,_Source,_Count,_Locale) (strncat(_Destination,_Source,_Count)) 01110 #define _strtok_l(_String,_Delimiters,_Locale) (strtok(_String,_Delimiters)) 01111 #define _strnset_l(_Destination,_Value,_Count,_Locale) (_strnset(_Destination,_Value,_Count)) 01112 #define _strset_l(_Destination,_Value,_Locale) (_strset(_Destination,_Value)) 01113 01114 #endif /* !_MBCS */ 01115 #endif /* !UNICODE */ 01116 /*****************************************************************************/ 01117 01118 #define _T(x) __T(x) 01119 #define _TEXT(x) __T(x) 01120 01121 #ifdef __cplusplus 01122 } 01123 #endif 01124 01125 #include <sec_api/tchar_s.h> 01126 #endif Generated on Sun May 27 2012 04:29:54 for ReactOS by
1.7.6.1
|