Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.os.linux.misc Subject: Re: VMS Date: Mon, 30 Jun 2025 07:54:36 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: <103tfrs$22bsu$1@dont-email.me> References: <4_GdncCsf-Nqe8n1nZ2dnZfqnPSdnZ2d@giganews.com> <103392c$lpbg$5@dont-email.me> <1033o4a$1qj6$3@dont-email.me> <1033tv1$3aqu$3@dont-email.me> <1034pj8$a74s$1@dont-email.me> <103teq1$220b9$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 30 Jun 2025 09:54:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e7340121927b55508c76d666a3d900cd"; logging-data="2174878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wiEIeOh2/R2+LWK+mT+cE" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:xwj2Ts1AV6pCJl1yce83isUtpR0= On Mon, 30 Jun 2025 08:36:33 +0100, The Natural Philosopher wrote: > I can find no agreement was to what counts as a short, long, int, at > all. The convention in the 64-bit *nix world is called “LP64”. This means that “long int” and pointers are 64 bits, while int is 32 bits. Microsoft compilers for 64-bit, on the other hand, follow “LLP64”. This means that “int” and “long int” are both 32 bits; if you want a 64-bit integer, you have to say “long long int”. > If it matters, use the length specific variable names. #include gives you explicit names for the various sizes, in both signed and unsigned alternatives.