www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/06/09:38:51

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199605061315.AA069208544@relay1.geis.com>
Date: Mon, 6 May 96 13:18:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Are long long ints portable?

How portable are GNU long long ints?  I have reached the point in a
program where I really need a 64-bit wide integer to store bit data, but I
also want to be able to maintain portability.  I was considering using a
real bitfield, but according to my C, bitfields must be 32 bits or less.
Also, is the correct printf specifier for long long ints '%lld'?

Thanks!

John

- Raw text -


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2014   by DJ Delorie     Updated Aug 2014