www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/06/12:18:11

Date: Mon, 6 May 1996 20:01:11 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199605061601.UAA12041@video.yars.free.net>
To: djgpp AT delorie DOT com, j DOT aldrich6 AT genie DOT com
Subject: Re: 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'?

No, current DJGPP printf/scanf don't support long long.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019