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
261261printf
262262ptrdiff_t
263263putchar
264+ putenv
265+ putenv_s
264266puts
265267raise
266268rand
@@ -340,6 +342,8 @@ wexecve
340342wexecvp
341343wexecvpe
342344wopen
345+ wputenv
346+ wputenv_s
343347write
344348wrmdir
345349wsetlocale
Original file line number Diff line number Diff line change @@ -509,6 +509,14 @@ extern "C" {
509509 pub fn aligned_malloc ( size : size_t , alignment : size_t ) -> * mut c_void ;
510510 #[ link_name = "_aligned_free" ]
511511 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 ;
512520}
513521
514522extern "system" {
You can’t perform that action at this time.
0 commit comments