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 g...@lemis.com for PGP public key


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

Reply via email to