From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,612f3a69ee9ac12,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-27 18:04:08 PST From: "Jim Liu" Newsgroups: comp.unix.tru64 Subject: How to define a function like printf in Tru64? Date: Fri, 26 Apr 2002 16:31:57 +0800 Organization: DCI HiNet Message-ID: NNTP-Posting-Host: ns.falconstor.com.tw X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!ctu-gate!news.nctu.edu.tw!news01.noc.fet!netnews.hinet.net!news Xref: archiver1.google.com comp.unix.tru64:7394 Dear All, I want to define a function like printf in Tru64. I know how to do it in Linux and Solaris, see below. But I don't know how to do it in Tru64. Do you have any idea? Linux: #define PRINTOUT4( format, a...) \ { \ printf("\n "); \ printf( format, ## a); \ } Solaris: #define PRINTOUT4( format, ...) \ { \ printf("\n "); \ printf( format, __VA_ARGS__); \ } Thank you! Jim (J. J. Liu)