tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Implement mode_select for atapi tape drives - round 4

On Mon, Aug 10, 2009 at 05:54:08AM +1000, matthew green wrote:
> the "right" way to do this is not never use "struct" but specific
> length data and offsets.  that code tends to look uglier and be
> harder to write.  hence why we abuse C.

But in such a case, we would use a void * or uint8_t *; so the
compiler can't assume alignement either, isn't it ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index