Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: argv[] terminated by a NULL pointer?
Message-ID: <1991Jun25.174744.25352@zoo.toronto.edu>
Date: Tue, 25 Jun 1991 17:47:44 GMT
References: <12187@hub.ucsb.edu>
Organization: U of Toronto Zoology

In article <12187@hub.ucsb.edu> angst@cs.ucsb.edu (Hopelessly in love w/Donna Reed) writes:
>I was always taught to use argc, and was of the belief that argv[] is
>not necessarily terminated by a NULL pointer.

Certain immensely ancient Unixes terminated it with a different magic cookie.
This is probably the origin of any weasel-wording on the subject.  All modern
systems written by sensible people :-) have the NULL, and ANSI C demands it.
-- 
"We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 to SunOS 3.5."              |  henry@zoo.toronto.edu  utzoo!henry
