ReactOS
0.4.15-dev-7113-g9ea2222
mbstring_s.h
Go to the documentation of this file.
1
7
#ifndef _INC_MBSTRING_S
8
#define _INC_MBSTRING_S
9
10
#include <mbstring.h>
11
12
#if defined(MINGW_HAS_SECURE_API)
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#ifndef _MBSTRING_S_DEFINED
19
#define _MBSTRING_S_DEFINED
20
21
_CRTIMP
22
errno_t
23
__cdecl
24
_mbscat_s(
25
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
26
_In_
size_t
_DstSizeInBytes,
27
_In_z_
const
unsigned
char
*_Src);
28
29
_CRTIMP
30
errno_t
31
__cdecl
32
_mbscat_s_l(
33
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
34
_In_
size_t
_DstSizeInBytes,
35
_In_z_
const
unsigned
char
*_Src,
36
_In_opt_
_locale_t
_Locale
);
37
38
_CRTIMP
39
errno_t
40
__cdecl
41
_mbscpy_s(
42
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
43
_In_
size_t
_DstSizeInBytes,
44
_In_z_
const
unsigned
char
*_Src);
45
46
_CRTIMP
47
errno_t
48
__cdecl
49
_mbscpy_s_l(
50
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
51
_In_
size_t
_DstSizeInBytes,
52
_In_z_
const
unsigned
char
*_Src,
53
_In_opt_
_locale_t
_Locale
);
54
55
_CRTIMP
56
errno_t
57
__cdecl
58
_mbslwr_s(
59
_Inout_updates_opt_z_
(
_SizeInBytes
)
unsigned
char
*_Str,
60
_In_
size_t
_SizeInBytes
);
61
62
_CRTIMP
63
errno_t
64
__cdecl
65
_mbslwr_s_l(
66
_Inout_updates_opt_z_
(
_SizeInBytes
)
unsigned
char
*_Str,
67
_In_
size_t
_SizeInBytes
,
68
_In_opt_
_locale_t
_Locale
);
69
70
_CRTIMP
71
errno_t
72
__cdecl
73
_mbsnbcat_s(
74
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
75
_In_
size_t
_DstSizeInBytes,
76
_In_z_
const
unsigned
char
*_Src,
77
_In_
size_t
_MaxCount
);
78
79
_CRTIMP
80
errno_t
81
__cdecl
82
_mbsnbcat_s_l(
83
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
84
_In_
size_t
_DstSizeInBytes,
85
_In_z_
const
unsigned
char
*_Src,
86
_In_
size_t
_MaxCount
,
87
_In_opt_
_locale_t
_Locale
);
88
89
_CRTIMP
90
errno_t
91
__cdecl
92
_mbsnbcpy_s
(
93
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
94
_In_
size_t
_DstSizeInBytes,
95
_In_z_
const
unsigned
char
*_Src,
96
_In_
size_t
_MaxCount
);
97
98
_CRTIMP
99
errno_t
100
__cdecl
101
_mbsnbcpy_s_l(
102
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
103
_In_
size_t
_DstSizeInBytes,
104
_In_z_
const
unsigned
char
*_Src,
105
_In_
size_t
_MaxCount
,
106
_In_opt_
_locale_t
_Locale
);
107
108
_CRTIMP
109
errno_t
110
__cdecl
111
_mbsnbset_s(
112
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
113
_In_
size_t
_DstSizeInBytes,
114
_In_
unsigned
int
_Ch
,
115
_In_
size_t
_MaxCount
);
116
117
_CRTIMP
118
errno_t
119
__cdecl
120
_mbsnbset_s_l(
121
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
122
_In_
size_t
_DstSizeInBytes,
123
_In_
unsigned
int
_Ch
,
124
_In_
size_t
_MaxCount
,
125
_In_opt_
_locale_t
_Locale
);
126
127
_CRTIMP
128
errno_t
129
__cdecl
130
_mbsncat_s(
131
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
132
_In_
size_t
_DstSizeInBytes,
133
_In_z_
const
unsigned
char
*_Src,
134
_In_
size_t
_MaxCount
);
135
136
_CRTIMP
137
errno_t
138
__cdecl
139
_mbsncat_s_l(
140
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
141
_In_
size_t
_DstSizeInBytes,
142
_In_z_
const
unsigned
char
*_Src,
143
_In_
size_t
_MaxCount
,
144
_In_opt_
_locale_t
_Locale
);
145
146
_CRTIMP
147
errno_t
148
__cdecl
149
_mbsncpy_s(
150
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
151
_In_
size_t
_DstSizeInBytes,
152
_In_z_
const
unsigned
char
*_Src,
153
_In_
size_t
_MaxCount
);
154
155
_CRTIMP
156
errno_t
157
__cdecl
158
_mbsncpy_s_l(
159
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
160
_In_
size_t
_DstSizeInBytes,
161
_In_z_
const
unsigned
char
*_Src,
162
_In_
size_t
_MaxCount
,
163
_In_opt_
_locale_t
_Locale
);
164
165
_CRTIMP
166
errno_t
167
__cdecl
168
_mbsnset_s(
169
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
170
_In_
size_t
_DstSizeInBytes,
171
_In_
unsigned
int
_Val
,
172
_In_
size_t
_MaxCount
);
173
174
_CRTIMP
175
errno_t
176
__cdecl
177
_mbsnset_s_l(
178
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
179
_In_
size_t
_DstSizeInBytes,
180
_In_
unsigned
int
_Val
,
181
_In_
size_t
_MaxCount
,
182
_In_opt_
_locale_t
_Locale
);
183
184
_CRTIMP
185
errno_t
186
__cdecl
187
_mbsset_s(
188
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
189
_In_
size_t
_DstSizeInBytes,
190
_In_
unsigned
int
_Val
);
191
192
_CRTIMP
193
errno_t
194
__cdecl
195
_mbsset_s_l(
196
_Inout_updates_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
197
_In_
size_t
_DstSizeInBytes,
198
_In_
unsigned
int
_Val
,
199
_In_opt_
_locale_t
_Locale
);
200
201
_Check_return_
202
_CRTIMP
203
unsigned
char
*
204
__cdecl
205
_mbstok_s(
206
_Inout_opt_z_
unsigned
char
*_Str,
207
_In_z_
const
unsigned
char
*_Delim,
208
_Inout_
_Deref_prepost_opt_z_
unsigned
char
**_Context);
209
210
_Check_return_
211
_CRTIMP
212
unsigned
char
*
213
__cdecl
214
_mbstok_s_l(
215
_Inout_opt_z_
unsigned
char
*_Str,
216
_In_z_
const
unsigned
char
*_Delim,
217
_Inout_
_Deref_prepost_opt_z_
unsigned
char
**_Context,
218
_In_opt_
_locale_t
_Locale
);
219
220
_CRTIMP
221
errno_t
222
__cdecl
223
_mbsupr_s(
224
_Inout_updates_z_
(
_SizeInBytes
)
unsigned
char
*_Str,
225
_In_
size_t
_SizeInBytes
);
226
227
_CRTIMP
228
errno_t
229
__cdecl
230
_mbsupr_s_l(
231
_Inout_updates_z_
(
_SizeInBytes
)
unsigned
char
*_Str,
232
_In_
size_t
_SizeInBytes
,
233
_In_opt_
_locale_t
_Locale
);
234
235
_CRTIMP
236
errno_t
237
__cdecl
238
_mbccpy_s(
239
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
240
_In_
size_t
_DstSizeInBytes,
241
_Out_opt_
int
*_PCopied,
242
_In_z_
const
unsigned
char
*_Src);
243
244
_CRTIMP
245
errno_t
246
__cdecl
247
_mbccpy_s_l(
248
_Out_writes_z_
(_DstSizeInBytes)
unsigned
char
*_Dst,
249
_In_
size_t
_DstSizeInBytes,
250
_Out_opt_
int
*_PCopied,
251
_In_z_
const
unsigned
char
*_Src,
252
_In_opt_
_locale_t
_Locale
);
253
254
#endif
/* _MBSTRING_S_DEFINED */
255
256
#ifdef __cplusplus
257
}
258
#endif
259
260
#endif
/* MINGW_HAS_SECURE_API */
261
262
#endif
/* _INC_MBSTRING_S */
__cdecl
#define __cdecl
Definition:
accygwin.h:79
_CRTIMP
#define _CRTIMP
Definition:
crtdefs.h:72
errno_t
int errno_t
Definition:
crtdefs.h:374
_mbsnbcpy_s
_CRTIMP errno_t __cdecl _mbsnbcpy_s(_Out_writes_z_(_DstSizeInBytes) unsigned char *_Dst, _In_ size_t _DstSizeInBytes, _In_z_ const unsigned char *_Src, _In_ size_t _MaxCount)
_Out_opt_
#define _Out_opt_
Definition:
ms_sal.h:346
_Inout_
#define _Inout_
Definition:
ms_sal.h:378
_Out_writes_z_
#define _Out_writes_z_(size)
Definition:
ms_sal.h:352
_Deref_prepost_opt_z_
#define _Deref_prepost_opt_z_
Definition:
ms_sal.h:1424
_In_z_
#define _In_z_
Definition:
ms_sal.h:313
_Check_return_
#define _Check_return_
Definition:
ms_sal.h:557
_Inout_updates_z_
#define _Inout_updates_z_(size)
Definition:
ms_sal.h:389
_Inout_updates_opt_z_
#define _Inout_updates_opt_z_(size)
Definition:
ms_sal.h:390
_In_
#define _In_
Definition:
ms_sal.h:308
_In_opt_
#define _In_opt_
Definition:
ms_sal.h:309
_Inout_opt_z_
#define _Inout_opt_z_
Definition:
ms_sal.h:384
_MaxCount
_MaxCount
Definition:
memory.h:72
_Val
_In_ int _Val
Definition:
memory.h:91
_Ch
_Check_return_ wchar_t _Ch
Definition:
string.h:640
_SizeInBytes
_In_ size_t _SizeInBytes
Definition:
time.h:146
_Locale
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
Definition:
time.h:159
localeinfo_struct
Definition:
crtdefs.h:441
sdk
include
crt
sec_api
mbstring_s.h
Generated on Sun Dec 3 2023 06:05:33 for ReactOS by
1.9.6