Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is environ?



On Tue, 2004-02-10 at 18:10, Benjamin Reed wrote:
> Bill Hayden wrote:
>
> > I am porting a program from Linux to Darwin which uses the "environ"
> > variable located in /usr/include/unistd.h (in Linux, anyways). There is
> > no such variable in Darwin's unistd.h or anywhere else that I can find.
> > Am I not looking hard enough, or is this not available in Darwin for
> > some reason?
>
> see the environ bit under "linking" at http://www.metapkg.org/wiki/15

Yep, this not only explains my problem, but it also explains why Jerry
P's sample code *didn't* have a problem. My call is in library code,
not application code.
--
Thanks,
Bill Hayden
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Kerberos Feature Request (From: "Henry B. Hotz" <email@hidden>)
 >Where is environ? (From: Bill Hayden <email@hidden>)
 >Re: Where is environ? (From: Benjamin Reed <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.