Date: Tue, 29 Jun 1999 09:56:59 +0930 From: Greg Lehey <grog@lemis.com> To: Amol Mohite <amol2@m-net.arbornet.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: environment strings Message-ID: <19990629095659.B86806@freebie.lemis.com> In-Reply-To: <Pine.BSI.3.96.990628055303.13889A-100000@m-net.arbornet.org>; from Amol Mohite on Mon, Jun 28, 1999 at 05:54:29AM -0400 References: <19990628084759.937F414F6C@hub.freebsd.org> <Pine.BSI.3.96.990628055303.13889A-100000@m-net.arbornet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 28 June 1999 at 5:54:29 -0400, Amol Mohite wrote: > > Hi! > > i hope this is the right list for this qs. > > I wanted t know where the environment strings i bsd were stored after a > program execs another one. At the top of memory. You can access them by the standard (but undocumented) method: int main (int argc, char *argv [], char *envp []) envp is a pointer to the environment strings. This is true for every version of UNIX I know. > Is there any place I ca get hold of the ABIs for freebsd ? Can you be more specific? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key 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?19990629095659.B86806>