delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/13/14:22:26

Date: Sun, 13 Jul 2003 21:20:22 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: andnews AT ihug DOT com DOT oz DOT au
Message-Id: <9003-Sun13Jul2003212022+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <cqhigv06liof10fts2e30fe7tvnhrhrf0n@4ax.com> (message from Andrew
on Mon, 07 Jul 2003 20:16:17 +1000)
Subject: Re: ASPI issue
References: <rp2ggv8td86e7230fvjb6s0map4lb7274l AT 4ax DOT com> <cqhigv06liof10fts2e30fe7tvnhrhrf0n AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Andrew <andnews AT ihug DOT com DOT oz DOT au>
> Newsgroups: comp.os.msdos.djgpp
> Date: Mon, 07 Jul 2003 20:16:17 +1000
> >typedef struct {
> >	unsigned char commandCode;
> >	unsigned char commandStatus;
> ... SNIP..
> >	unsigned char reserved2[ 34 ];
> >	unsigned char cdb[ 6 ];
> >	unsigned char sense[ SENSE_LENGTH ];
> >} srbCdb6;
> This structure may need to be packed.

No, it doesn't: all the struct members are declared `char', so they
are already packed (since a char member doesn't require any alignment.

- Raw text -


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