From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: How do i make a printf type func? Date: Sun, 13 Feb 2000 10:22:44 +0200 Organization: NetVision Israel Lines: 12 Message-ID: References: <001f864e DOT f7539fd2 AT usw-ex0103-018 DOT remarq DOT com> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 950430350 7754 199.203.121.2 (13 Feb 2000 08:25:50 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 13 Feb 2000 08:25:50 GMT X-Sender: eliz AT is In-Reply-To: <001f864e.f7539fd2@usw-ex0103-018.remarq.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 12 Feb 2000, Pyros wrote: > Well, i want to make a function that will recieve a variable > number of arguements. The first argument tells the function > how much more arguments there are. I know how to declare it: > int func(int n,...) > > but i don't know how to address the arguments. See the "varargs" page of the library reference, it explains this. From the DOS prompt, type "info libc alpha varargs".