From: Bob Harris <harris@zk3.dec.com>
Subject: Re: does tru64 v.4.g support long long int (%lld)?
Date: Wed, 27 Mar 2002 18:44:39 -0500 [thread overview]
Message-ID: <harris-373F6C.18443527032002@gazette.loc1.tandem.com> (raw)
In-Reply-To: 304099f8.0203270912.60536a8e@posting.google.com
In article <304099f8.0203270912.60536a8e@posting.google.com>,
emuntean@newlog.com (Eugen Muntean) wrote:
X I tried to compile with cc, a tcp code for communication between
X machines tru64 and a linux backup server. The client (tru64) code
X contains a statement like:
X
X sprintf(buf, "%lld", st_size);
X
X where st_size contain the size of the file to be backed up (it may be
X >2GO)
X
X The compiler works well, but the binary code made a lot of damage in
X the memory.
X
X I am asking if tru64 support the long long int type?
X I didn't also find the cc compiler option "FILE_OFFSET_BITS" (like in
X 7.2 RH Linux).
X
X Could anyone help me?
X Eugen
a 'long' in Tru64 UNIX is 64 bits.
"%ld" formats a 64 bit long.
I do not know what FILE_OFFSET_BITS is, but there is a pathconf()
_PC_FILESIZEBITS in Tru64 UNIX v5.*, is this similar to what you are
looking for?
Bob Harris
next prev parent reply other threads:[~2002-03-27 23:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 17:12 does tru64 v.4.g support long long int (%lld)? Eugen Muntean
2002-03-27 23:44 ` Bob Harris [this message]
2002-03-28 17:48 ` Eugen Muntean
2002-03-28 8:57 ` Timo Felbinger
2002-03-29 2:27 ` Rajanish Calisa
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