Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ucsfcgl!babar.mmwb.ucsf.edu!srp From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell) Newsgroups: comp.sys.sgi Subject: varargs and -prototype Summary: Can you do it? Keywords: varargs, ANSI, prototype Message-ID: Date: 9 May 91 17:14:36 GMT Sender: daemon@cgl.ucsf.edu Lines: 20 Hi, I am working on a program that uses varargs. At the same time, but for other reasons, I would like to use the IRIX -prototypes argument to cc(1). Is there a "correct" way to specify a prototype for a function that uses varargs (and have it work with -prototypes)? So far, I am having trouble doing this. Moreover, if I'm making some sort of basic mistake here, let me know (like I need to *ask* for this on USENET...) I'm just trying to ease myself into ANSI C. Thanks for any help. - Scott -- Scott Presnell +1 (415) 476-9890 Pharm. Chem., S-926 Internet: srp@cgl.ucsf.edu University of California UUCP: ...ucbvax!ucsfcgl!srp San Francisco, CA. 94143-0446 Bitnet: srp@ucsfcgl.bitnet