| delorie.com/archives/browse.cgi | search |
| From: | "Gorden" <gorden AT ms9 DOT url DOT com DOT tw> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | what is __attribute__ ((packed)); |
| Date: | Tue, 5 Dec 2000 08:34:30 +0800 |
| Organization: | DCI HiNet |
| Lines: | 21 |
| Message-ID: | <90i19j$b9u@netnews.hinet.net> |
| NNTP-Posting-Host: | 210.242.228.137 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
typedef struct VESA_INFO /* VESA information block structure */
{
unsigned char VESASignature[4] __attribute__ ((packed));
unsigned short VESAVersion __attribute__ ((packed));
unsigned long OEMStringPtr __attribute__ ((packed));
unsigned char Capabilities[4] __attribute__ ((packed));
unsigned long VideoModePtr __attribute__ ((packed));
unsigned short TotalMemory __attribute__ ((packed));
unsigned short OemSoftwareRev __attribute__ ((packed));
unsigned long OemVendorNamePtr __attribute__ ((packed));
unsigned long OemProductNamePtr __attribute__ ((packed));
unsigned long OemProductRevPtr __attribute__ ((packed));
unsigned char Reserved[222] __attribute__ ((packed));
unsigned char OemData[256] __attribute__ ((packed));
} VESA_INFO;
__attribute__ ((packed)); what's that
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |