Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!ukc!stc!root44!njh From: njh@root.co.uk (Nigel Horne) Newsgroups: comp.lang.c Subject: Re: Accessing argc & argv from a functi Message-ID: <382@root44.co.uk> Date: Thu, 30-Jul-87 08:11:26 EDT Article-I.D.: root44.382 Posted: Thu Jul 30 08:11:26 1987 Date-Received: Sat, 1-Aug-87 15:59:05 EDT References: <420@sugar.UUCP> <39@flmis06.ATT.COM> Reply-To: njh@root44.UUCP (Nigel Horne) Organization: Root Computers Ltd, London, England Lines: 14 In article <39@flmis06.ATT.COM> mikel@flmis06.ATT.COM (Mikel Manitius) writes: > >However I am still looking for a way to get at "argc" and "argv" from >a function when I don't have access to "main". getenv() and putenv() >gets it from somewhere... getopt(). -Nigel -- -- Nigel Horne, Divisional Director, Root Technical Systems. G1ITH Fax: (01) 726 8158 Phone: +44 1 606 7799 Telex: 885995 ROOT G BT Gold: CQQ173