help w/ putenv

Martin v. Löwis martin at v.loewis.de
Tue Dec 10 01:03:05 EST 2002


czrpb <nanotech at europa.com> writes:

>     %strace ./script.py "hi mom" |& fgrep -i 'putenv'
> 
> And see NO system calls to putenv.

putenv is not a system call. It is implemented completely in the C
library, together with getenv.

> When compiling python do I need to set something to get this to work?

Nothing. It already works.

Regards,
Martin



More information about the Python-list mailing list