Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!brl-adm!adm!eichelbe@nadc.arpa From: eichelbe@nadc.arpa Newsgroups: comp.unix.wizards Subject: C \"quad\" declaration Message-ID: <1275@brl-adm.ARPA> Date: Thu, 4-Dec-86 19:20:10 EST Article-I.D.: brl-adm.1275 Posted: Thu Dec 4 19:20:10 1986 Date-Received: Fri, 5-Dec-86 05:11:04 EST Sender: news@brl-adm.ARPA Lines: 24 I am running 4.1 BSD UNIX on a VAX 11/780 and have the vanilla C compiler that comes with that system. A piece of source code I got from another site (the author is no longer there) has a declaration of "quad" for a variable. The first few lines of a structure are: struct rcthdr { quad rct_serialno; /* volume serial number */ short rct_status; /* status flags */ Thus, it looks like "quad" means an 8-byte piece of memory (INTEGER*8 ???). Is there any way to create such a beast by using some sort of #DEFINE or typedef definition? I'm only assuming that "quad" means 8 bytes, but if it does it is consistent with VAX/VMS assembly language. I just don't know how to represent such a thing with my present C compiler. Any ideas? Thank you. Jon Eichelberger eichelbe@NADC.ARPA P.S. I could create an array of 2 long int's, but the usage of the variable in the code would probably not be right. I was hoping not to screw with the code too much. P.P.S. I am not on the "C" interest group list. Anyone know the group's name? Thanks.