File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
EOTHER
2
+ memccpy
2
3
stricmp
3
4
strnicmp
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ creat
178
178
dev_t
179
179
dup
180
180
dup2
181
+ errno_t
181
182
execl
182
183
execle
183
184
execlp
@@ -239,6 +240,7 @@ isupper
239
240
isxdigit
240
241
labs
241
242
listen
243
+ localtime_s
242
244
lseek
243
245
lseek64
244
246
malloc
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ pub type wchar_t = u16;
27
27
28
28
pub type clock_t = i32 ;
29
29
30
+ pub type errno_t = :: c_int ;
31
+
30
32
cfg_if ! {
31
33
if #[ cfg( all( target_arch = "x86" , target_env = "gnu" ) ) ] {
32
34
pub type time_t = i32 ;
@@ -372,6 +374,8 @@ extern "C" {
372
374
373
375
#[ link_name = "_gmtime64_s" ]
374
376
pub fn gmtime_s ( destTime : * mut tm , srcTime : * const time_t ) -> :: c_int ;
377
+ #[ link_name = "_localtime64_s" ]
378
+ pub fn localtime_s ( tmDest : * mut tm , sourceTime : * const time_t ) -> :: errno_t ;
375
379
#[ link_name = "_time64" ]
376
380
pub fn time ( destTime : * mut time_t ) -> time_t ;
377
381
#[ link_name = "_chmod" ]
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ extern "C" {
10
10
pub fn stricmp ( s1 : * const :: c_char , s2 : * const :: c_char ) -> :: c_int ;
11
11
#[ link_name = "_strnicmp" ]
12
12
pub fn strnicmp ( s1 : * const :: c_char , s2 : * const :: c_char , n : :: size_t ) -> :: c_int ;
13
+ #[ link_name = "_memccpy" ]
14
+ pub fn memccpy (
15
+ dest : * mut :: c_void ,
16
+ src : * const :: c_void ,
17
+ c : :: c_int ,
18
+ count : :: size_t ,
19
+ ) -> * mut :: c_void ;
13
20
}
14
21
15
22
cfg_if ! {
You can’t perform that action at this time.
0 commit comments