Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!emory!cambridge.apple.com!bloom-beacon!eru!luth!sunic!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.unix.wizards Subject: Re: Why isn't argv[argc]==(char *)0 ? Message-ID: <1391@skye.ed.ac.uk> Date: 22 Nov 89 12:56:35 GMT References: <547.nlhp3@oracle.nl> <1989Nov16.012439.6405@virtech.uucp> <2651@auspex.auspex.com> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 15 In article <2651@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >*Much* older versions; the first version I saw with argv[argc] == 0 was V7 So it's probably the first version that had it. From the Sixth Edition man page for exec(II): "Argv is not directly usable in another execv, since argv[argc] is -1 and not 0." -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin