How to modify process environment variables

Ky-Anh Huynh saigon at example.net
Tue Oct 17 05:57:50 UTC 2017


On Tuesday, 17 October 2017 at 04:56:23 UTC, ketmar wrote:
>
> you can use libc's `putenv()` in D too, it is ok. just import 
> `core.sys.posix.stdlib`,  it is there. D is not antagonistic to 
> C, and doesn't try to replace the whole libc with it's own 
> libraries. so if you see something that libc has and you'd like 
> to use -- just do it! ;-)

I see :) I have always tried to avoid C if possible :D




More information about the Digitalmars-d-learn mailing list