ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tchar_s.h
Go to the documentation of this file.
00001 
00006 #ifndef _INC_TCHAR_S
00007 #define _INC_TCHAR_S
00008 
00009 #include <tchar.h>
00010 
00011 #if defined(MINGW_HAS_SECURE_API)
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 #ifdef _UNICODE
00018 
00019 #define _tprintf_s wprintf_s
00020 #define _tprintf_s_l _wprintf_s_l
00021 #define _tcprintf_s _cwprintf_s
00022 #define _tcprintf_s_l _cwprintf_s_l
00023 #define _vtcprintf_s _vcwprintf_s
00024 #define _vtcprintf_s_l _vcwprintf_s_l
00025 #define _ftprintf_s fwprintf_s
00026 #define _ftprintf_s_l _fwprintf_s_l
00027 #define _stprintf_s swprintf_s
00028 #define _stprintf_s_l _swprintf_s_l
00029 #define _sntprintf_s _snwprintf_s
00030 #define _sntprintf_s_l _snwprintf_s_l
00031 #define _vtprintf_s vwprintf_s
00032 #define _vtprintf_s_l _vwprintf_s_l
00033 #define _vftprintf_s vfwprintf_s
00034 #define _vftprintf_s_l _vfwprintf_s_l
00035 #define _vstprintf_s vswprintf_s
00036 #define _vstprintf_s_l _vswprintf_s_l
00037 #define _vsntprintf_s _vsnwprintf_s
00038 #define _vsntprintf_s_l _vsnwprintf_s_l
00039 
00040 #define _tscanf_s wscanf_s
00041 #define _tscanf_s_l _wscanf_s_l
00042 #define _tcscanf_s _cwscanf_s
00043 #define _tcscanf_s_l _cwscanf_s_l
00044 #define _ftscanf_s fwscanf_s
00045 #define _ftscanf_s_l _fwscanf_s_l
00046 #define _stscanf_s swscanf_s
00047 #define _stscanf_s_l _swscanf_s_l
00048 #define _sntscanf_s _snwscanf_s
00049 #define _sntscanf_s_l _snwscanf_s_l
00050 
00051 #define _cgetts_s _cgetws_s
00052 #define _getts_s _getws_s
00053 
00054 #define _itot_s _itow_s
00055 #define _ltot_s _ltow_s
00056 #define _ultot_s _ultow_s
00057 #define _i64tot_s _i64tow_s
00058 #define _ui64tot_s _ui64tow_s
00059 
00060 #define _tcscat_s wcscat_s
00061 #define _tcscpy_s wcscpy_s
00062 #define _tcsncat_s wcsncat_s
00063 #define _tcsncat_s_l _wcsncat_s_l
00064 #define _tcsncpy_s wcsncpy_s
00065 #define _tcsncpy_s_l _wcsncpy_s_l
00066 #define _tcstok_s wcstok_s
00067 #define _tcstok_s_l _wcstok_s_l
00068 #define _tcserror_s _wcserror_s
00069 #define __tcserror_s __wcserror_s
00070 
00071 #define _tcsnset_s _wcsnset_s
00072 #define _tcsnset_s_l _wcsnset_s_l
00073 #define _tcsset_s _wcsset_s
00074 #define _tcsset_s_l _wcsset_s_l
00075 
00076 #define _tasctime_s _wasctime_s
00077 #define _tctime_s _wctime_s
00078 #define _tctime32_s _wctime32_s
00079 #define _tctime64_s _wctime64_s
00080 #define _tstrdate_s _wstrdate_s
00081 #define _tstrtime_s _wstrtime_s
00082 
00083 #define _tgetenv_s _wgetenv_s
00084 #define _tdupenv_s _wdupenv_s
00085 #define _tmakepath_s _wmakepath_s
00086 #define _tputenv_s _wputenv_s
00087 #define _tsearchenv_s _wsearchenv_s
00088 #define _tsplitpath_s _wsplitpath_s
00089 
00090 #define _tfopen_s _wfopen_s
00091 #define _tfreopen_s _wfreopen_s
00092 #define _ttmpnam_s _wtmpnam_s
00093 #define _taccess_s _waccess_s
00094 #define _tmktemp_s _wmktemp_s
00095 
00096 #define _tcsnccat_s wcsncat_s
00097 #define _tcsnccat_s_l _wcsncat_s_l
00098 #define _tcsnccpy_s wcsncpy_s
00099 #define _tcsnccpy_s_l _wcsncpy_s_l
00100 
00101 #define _tcslwr_s _wcslwr_s
00102 #define _tcslwr_s_l _wcslwr_s_l
00103 #define _tcsupr_s _wcsupr_s
00104 #define _tcsupr_s_l _wcsupr_s_l
00105 
00106 #define _wcstok_s_l(_String,_Delimiters,_Current_position,_Locale) (wcstok_s(_String,_Delimiters,_Current_position))
00107 #define _wcsnset_s_l(_Destination,_Destination_size_chars,_Value,_Count,_Locale) (_wcsnset_s(_Destination,_Destination_size_chars,_Value,_Count))
00108 #define _wcsset_s_l(_Destination,_Destination_size_chars,_Value,_Locale) (_wcsset_s(_Destination,_Destination_size_chars,_Value))
00109 
00110 #else
00111 
00112 #define _tprintf_s printf_s
00113 #define _tprintf_s_l _printf_s_l
00114 #define _tcprintf_s _cprintf_s
00115 #define _tcprintf_s_l _cprintf_s_l
00116 #define _vtcprintf_s _vcprintf_s
00117 #define _vtcprintf_s_l _vcprintf_s_l
00118 #define _ftprintf_s fprintf_s
00119 #define _ftprintf_s_l _fprintf_s_l
00120 #define _stprintf_s sprintf_s
00121 #define _stprintf_s_l _sprintf_s_l
00122 #define _sntprintf_s _snprintf_s
00123 #define _sntprintf_s_l _snprintf_s_l
00124 #define _vtprintf_s vprintf_s
00125 #define _vtprintf_s_l _vprintf_s_l
00126 #define _vftprintf_s vfprintf_s
00127 #define _vftprintf_s_l _vfprintf_s_l
00128 #define _vstprintf_s vsprintf_s
00129 #define _vstprintf_s_l _vsprintf_s_l
00130 #define _vsntprintf_s _vsnprintf_s
00131 #define _vsntprintf_s_l _vsnprintf_s_l
00132 #define _tscanf_s scanf_s
00133 #define _tscanf_s_l _scanf_s_l
00134 #define _tcscanf_s _cscanf_s
00135 #define _tcscanf_s_l _cscanf_s_l
00136 #define _ftscanf_s fscanf_s
00137 #define _ftscanf_s_l _fscanf_s_l
00138 #define _stscanf_s sscanf_s
00139 #define _stscanf_s_l _sscanf_s_l
00140 #define _sntscanf_s _snscanf_s
00141 #define _sntscanf_s_l _snscanf_s_l
00142 
00143 #define _getts_s gets_s
00144 #define _cgetts_s _cgets_s
00145 #define _itot_s _itoa_s
00146 #define _ltot_s _ltoa_s
00147 #define _ultot_s _ultoa_s
00148 #define _i64tot_s _i64toa_s
00149 #define _ui64tot_s _ui64toa_s
00150 
00151 #define _tcscat_s strcat_s
00152 #define _tcscpy_s strcpy_s
00153 #define _tcserror_s strerror_s
00154 #define __tcserror_s _strerror_s
00155 
00156 #define _tasctime_s asctime_s
00157 #define _tctime_s ctime_s
00158 #define _tctime32_s _ctime32_s
00159 #define _tctime64_s _ctime64_s
00160 #define _tstrdate_s _strdate_s
00161 #define _tstrtime_s _strtime_s
00162 
00163 #define _tgetenv_s getenv_s
00164 #define _tdupenv_s _dupenv_s
00165 #define _tmakepath_s _makepath_s
00166 #define _tputenv_s _putenv_s
00167 #define _tsearchenv_s _searchenv_s
00168 #define _tsplitpath_s _splitpath_s
00169 
00170 #define _tfopen_s fopen_s
00171 #define _tfreopen_s freopen_s
00172 #define _ttmpnam_s tmpnam_s
00173 #define _tmktemp_s _mktemp_s
00174 
00175 #ifndef _POSIX_
00176 #define _taccess_s _access_s
00177 #endif
00178 
00179 #define _tsopen_s _sopen_s
00180 
00181 #ifdef _MBCS
00182 
00183 #ifdef _MB_MAP_DIRECT
00184 
00185 #define _tcsncat_s _mbsnbcat_s
00186 #define _tcsncat_s_l _mbsnbcat_s_l
00187 #define _tcsncpy_s _mbsnbcpy_s
00188 #define _tcsncpy_s_l _mbsnbcpy_s_l
00189 #define _tcstok_s _mbstok_s
00190 #define _tcstok_s_l _mbstok_s_l
00191 
00192 #define _tcsnset_s _mbsnbset_s
00193 #define _tcsnset_s_l _mbsnbset_s_l
00194 #define _tcsset_s _mbsset_s
00195 #define _tcsset_s_l _mbsset_s_l
00196 
00197 #define _tcsnccat_s _mbsncat_s
00198 #define _tcsnccat_s_l _mbsncat_s_l
00199 #define _tcsnccpy_s _mbsncpy_s
00200 #define _tcsnccpy_s_l _mbsncpy_s_l
00201 #define _tcsncset_s _mbsnset_s
00202 #define _tcsncset_s_l _mbsnset_s_l
00203 
00204 #define _tcslwr_s _mbslwr_s
00205 #define _tcslwr_s_l _mbslwr_s_l
00206 #define _tcsupr_s _mbsupr_s
00207 #define _tcsupr_s_l _mbsupr_s_l
00208 
00209 #define _tccpy_s _mbccpy_s
00210 #define _tccpy_s_l _mbccpy_s_l
00211 #else
00212 
00213   _CRTIMP char *__cdecl _tcsncat_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
00214   _CRTIMP char *__cdecl _tcsncat_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale);
00215   _CRTIMP char *__cdecl _tcsncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
00216   _CRTIMP char *__cdecl _tcsncpy_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale);
00217   _CRTIMP char *__cdecl _tcstok_s(char *_Str,const char *_Delim,char **_Context);
00218   _CRTIMP char *__cdecl _tcstok_s_l(char *_Str,const char *_Delim,char **_Context,_locale_t _Locale);
00219   _CRTIMP errno_t __cdecl _tcsset_s(char *_Str,size_t _SizeInChars,unsigned int _Val);
00220   _CRTIMP errno_t __cdecl _tcsset_s_l(char *_Str,size_t _SizeInChars,unsigned int,_locale_t _Locale);
00221   _CRTIMP char *__cdecl _tcsnccat_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
00222   _CRTIMP char *__cdecl _tcsnccat_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale);
00223   _CRTIMP char *__cdecl _tcsnccpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
00224   _CRTIMP char *__cdecl _tcsnccpy_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale);
00225   _CRTIMP char *__cdecl _tcslwr_s(char *_Str,size_t _SizeInChars);
00226   _CRTIMP char *__cdecl _tcslwr_s_l(char *_Str,size_t _SizeInChars,_locale_t _Locale);
00227   _CRTIMP char *__cdecl _tcsupr_s(char *_Str,size_t _SizeInChars);
00228   _CRTIMP char *__cdecl _tcsupr_s_l(char *_Str,size_t _SizeInChars,_locale_t _Locale);
00229 
00230 #endif
00231 
00232 #else
00233 
00234 #define _tcsncat_s strncat_s
00235 #define _tcsncat_s_l _strncat_s_l
00236 #define _tcsncpy_s strncpy_s
00237 #define _tcsncpy_s_l _strncpy_s_l
00238 #define _tcstok_s strtok_s
00239 #define _tcstok_s_l _strtok_s_l
00240 
00241 #define _tcsnset_s _strnset_s
00242 #define _tcsnset_s_l _strnset_s_l
00243 #define _tcsset_s _strset_s
00244 #define _tcsset_s _strset_s
00245 #define _tcsset_s_l _strset_s_l
00246 
00247 #define _tcsnccat_s strncat_s
00248 #define _tcsnccat_s_l _strncat_s_l
00249 #define _tcsnccpy_s strncpy_s
00250 #define _tcsnccpy_s_l _strncpy_s_l
00251 
00252 #define _tcslwr_s _strlwr_s
00253 #define _tcslwr_s_l _strlwr_s_l
00254 #define _tcsupr_s _strupr_s
00255 #define _tcsupr_s_l _strupr_s_l
00256 
00257 #define _strnset_s_l(_Destination,_Destination_size_chars,_Value,_Count,_Locale) (_strnset_s(_Destination,_Destination_size_chars,_Value,_Count))
00258 #define _strset_s_l(_Destination,_Destination_size_chars,_Value,_Locale) (_strset_s(_Destination,_Destination_size_chars,_Value))
00259 #endif
00260 #endif
00261 
00262 #ifdef __cplusplus
00263 }
00264 #endif
00265 #endif
00266 #endif

Generated on Sun May 27 2012 04:29:53 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.