[Development] Modifying and accessing environment variables in Qt
Marc Mutz
marc.mutz at kdab.com
Wed Apr 29 12:20:05 CEST 2015
On Wednesday 29 April 2015 11:55:48 Marc Mutz wrote:
> 1. man putenv on Linux says that since glibc 2.1, putenv is reentrant
http://osxr.org/glibc/source/stdlib/setenv.c#0109
but getenv isn't protected by any lock, indeed:
http://osxr.org/glibc/source/stdlib/getenv.c#0033
--
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts
More information about the Development
mailing list