Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 10:35:58 -0800
From:      bruno schwander <bschwand@dvart.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: examining the environment
Message-ID:  <3AAE688E.42A59DEE@dvart.com>
References:  <Pine.BSO.4.21.0103051732370.6833-100000@gandalf.bravenet.com> <200103060208.f2628PT49635@earth.backplane.com> <20010308213722.A83857@skriver.dk> <3AA7EF0B.434B8D8F@dvart.com> <3AA883DE.BBCBDD09@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks everybody,

I checked the code and the magic function is

kvm_getenvv()


bruno

Wes Peters wrote:

> bruno schwander wrote:
> >
> > Hi everybody,
> >
> > How can I examine an other process environment ?
> >
> > I have a daemon that needs to do something according to an environment
> > variable set in a different process. Can I open an other process and lookup
> > environment variables set in his space ?
>
> ps can do this, check it's code.
>
> --
>            Where am I, and what am I doing in this handbasket?
>
> Wes Peters                                                     wes@softweyr.com

--

###########################################################################

        Bruno Schwander
        Senior Software Engineer

        Worldgate Communications, Inc

        email: bschwand@dvart.com

############################################################################




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AAE688E.42A59DEE>