Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Arun Sharma <arun@home.com.no.spam>
Subject: Re: long long in Digital Unix
Date: 1997/08/17	[thread overview]
Message-ID: <m3en7sg5px.fsf@cc1000916-a.avnl1.nj.home.com> (raw)
In-Reply-To: qxpvi152mva.fsf@foobar.cs.colorado.edu


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



  parent reply	other threads:[~1997-08-17  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-17  4:00 long long in Digital Unix Dirk Grunwald
1997-08-17  4:00 ` Peter L. Montgomery
1997-08-17  4:00 ` Arun Sharma [this message]
1997-08-18  4:00 ` Dirk Grunwald
1997-08-20  4:00 ` John Hascall
     [not found]   ` <danpop.872269363@news.cern.ch>
1997-08-24  4:00     ` John Hascall
1997-08-21  4:00 ` Peter Quodling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox