File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,8 @@ popen
261
261
printf
262
262
ptrdiff_t
263
263
putchar
264
+ putenv
265
+ putenv_s
264
266
puts
265
267
raise
266
268
rand
@@ -340,6 +342,8 @@ wexecve
340
342
wexecvp
341
343
wexecvpe
342
344
wopen
345
+ wputenv
346
+ wputenv_s
343
347
write
344
348
wrmdir
345
349
wsetlocale
Original file line number Diff line number Diff line change @@ -509,6 +509,14 @@ extern "C" {
509
509
pub fn aligned_malloc ( size : size_t , alignment : size_t ) -> * mut c_void ;
510
510
#[ link_name = "_aligned_free" ]
511
511
pub fn aligned_free ( ptr : * mut :: c_void ) ;
512
+ #[ link_name = "_putenv" ]
513
+ pub fn putenv ( envstring : * const :: c_char ) -> :: c_int ;
514
+ #[ link_name = "_wputenv" ]
515
+ pub fn wputenv ( envstring : * const :: wchar_t ) -> :: c_int ;
516
+ #[ link_name = "_putenv_s" ]
517
+ pub fn putenv_s ( envstring : * const :: c_char , value_string : * const :: c_char ) -> :: errno_t ;
518
+ #[ link_name = "_wputenv_s" ]
519
+ pub fn wputenv_s ( envstring : * const :: wchar_t , value_string : * const :: wchar_t ) -> :: errno_t ;
512
520
}
513
521
514
522
extern "system" {
You can’t perform that action at this time.
0 commit comments