Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!faustus From: faustus@ucbcad.BERKELEY.EDU (Wayne A. Christopher) Newsgroups: net.lang.c Subject: variable # of args portability? Message-ID: <809@ucbcad.BERKELEY.EDU> Date: Mon, 7-Jul-86 18:01:29 EDT Article-I.D.: ucbcad.809 Posted: Mon Jul 7 18:01:29 1986 Date-Received: Tue, 8-Jul-86 06:03:48 EDT Organization: CAD Group, U.C. Berkeley Lines: 10 I want to be able to write a function that will take an unknown number of arguments and then call another such function with these arguments, namely something like printf() that calls _doprnt() without processing its arguments at all. I know there is no way to write this code portably, but is it reasonable to assume that I will be able to do it at all in most common implementations of C? Also, how safe is it to assume that there will be something like _doprnt() available? I know it's not good to depend on things like this, but I don't want to have to write my own printf()... Wayne