From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e4984c6f2b7e463 X-Google-Attributes: gid1164f8,public From: Arun Sharma Subject: Re: long long in Digital Unix Date: 1997/08/17 Message-ID: #1/1 X-Deja-AN: 265426567 References: Organization: @Home Networks Newsgroups: comp.sys.dec On 17 Aug 1997 03:13:29 -0600, Dirk Grunwald wrote: d> I'm porting a program that makes extensive use of 'long d> long' under Solaris. They intend it to mean 64 bit longs. d> The Digital Unix 'printf' and and 'scanf' don't grok the d> '%lld' specification for a long long value. ANyone know of d> a way around thsi w/o #ifdef'ing all the instances? How about linking in a wrapper around printf, which handles the OS specific stuff ? That way, you'll have the complexity moved to the *definition* of printf, rather than the use. -Arun