Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Passing Variable Numbers of Arguments
Message-ID: <1991Feb11.225815.5875@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <5196@media-lab.MEDIA.MIT.EDU>
Date: Mon, 11 Feb 1991 22:58:15 GMT

In article <5196@media-lab.MEDIA.MIT.EDU> dyoung@media-lab.media.mit.edu.UUCP (David Young) writes:
>I'd like to be able to write a macro or a function that will take an
>unspecified number of arguments...

For a function, you'll need to use <stdarg.h> (ANSI C) or <varargs.h> (many
old implementations).  Can't be done with a macro at all.
-- 
"Read the OSI protocol specifications?  | Henry Spencer @ U of Toronto Zoology
I can't even *lift* them!"              |  henry@zoo.toronto.edu  utzoo!henry
