Re: examining the environment

2001-03-13 Thread bruno schwander

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 [EMAIL PROTECTED]

--

###

Bruno Schwander
Senior Software Engineer

Worldgate Communications, Inc

email: [EMAIL PROTECTED]






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: examining the environment

2001-03-08 Thread Wes Peters

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 [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message