Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.lang.c Subject: Re: my_printf calling printf Message-ID: <1991Feb26.160345.28266@athena.mit.edu> Date: 26 Feb 91 16:03:45 GMT References: <1991Feb26.101626.21779@fwi.uva.nl> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 17 In article <1991Feb26.101626.21779@fwi.uva.nl>, caspers@fwi.uva.nl (B.M. Caspers (I)) writes: |> I need to write a function that calls the win_printf of the DESQview API C |> library, which in its turn (I think) calls printf. Since I don't want to do |> any argument processing that printf should do, can I give the format string and the rest of the arguments unchanged to [win_]printf? Is there a win_vprintf? If so, that's what you're going to have to use. If not, you're in trouble. See the section entitled "Variable-Length Argument Lists" in the monthly Frequently Asked Questions posting to this newsgroup. If it isn't around at your site, E-mail me and I'll send it to you. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710