Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mimsy!oddjob!gargoyle!ihnp4!homxb!mtuxo!mtune!codas!flmis06!mikel
From: mikel@flmis06.ATT.COM (Mikel Manitius)
Newsgroups: comp.lang.c
Subject: Accessing argc & argv from a function
Message-ID: <22@flmis06.ATT.COM>
Date: Thu, 16-Jul-87 13:56:33 EDT
Article-I.D.: flmis06.22
Posted: Thu Jul 16 13:56:33 1987
Date-Received: Sat, 18-Jul-87 08:50:48 EDT
Organization: AT&T, Altamote Springs, FL
Lines: 9

I recently ran accross an interresting question.

How does one get at argc and argv (and possibly envp) from a function?
Without declaring it in main first, and then passing a pointer (global
or not)! Assume you don't have control over what happens in main. Can
you still get at the argument vector?
-- 
				Mikel Manitius @ AT&T Network Operations
				mikel@codas.att.com.uucp | attmail!mikel