Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Variable argument lists.
Message-ID: <1988May12.165728.17293@utzoo.uucp>
Organization: U of Toronto Zoology
References: <14139@brl-adm.ARPA>, <12933@tut.cis.ohio-state.edu>
Date: Thu, 12 May 88 16:57:28 GMT

> In this example (with ) I scan the argument list
> twice.  Once to get a count, the next to do the real work.
> Something similar should work in ANSI.  Can anyone tell me
> if I'm wrong (again! :-( ).  This assumes all the arguments
> are char* ...

Looks okay to me, provided that the argument list is terminated (by
the user -- the compiler won't do it for you) with a null pointer of
the correct type.
-- 
NASA is to spaceflight as            |  Henry Spencer @ U of Toronto Zoology
the Post Office is to mail.          | {ihnp4,decvax,uunet!mnetor}!utzoo!henry