Web lists-archives.com

Re: [Mingw-users] setenv()




> From: Anton Shepelev <anton.txt@xxxxxxxxx>
> Date: Wed, 16 Nov 2016 00:46:32 +0300
> 
> Is  the  setenv() function from stdlib.h supposed to
> work in MinGW?

The MS-Windows runtime doesn't provide setenv.  Use _putenv instead.

------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe