Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ncar!gatech!mcnc!rti!mozart!walker From: walker@unx.sas.com (Doug Walker) Newsgroups: comp.sys.amiga.tech Subject: Re: FileInfoBlock Message-ID: <1990Nov27.152357.4893@unx.sas.com> Date: 27 Nov 90 15:23:57 GMT References: <15413@cbmvax.commodore.com> <26622.27392887@kuhub.cc.ukans.edu> Distribution: comp Organization: SAS Institute Inc. Lines: 20 >Or if you have SAS C 5.1 you can say: > > struct FileInfoBlock _aligned fib; > >and use &fib. The _aligned is nice because it eliminates the need for >lots of otherwise uneeded Alloc/Free code just so you can get longword >alignment. Obviously such a variable can't be auto storage class. >-- It's __aligned, not _aligned. And the variable CAN be auto storage class, or any other storage class. It can even be a member of a structure - pad bytes will be added to the structure if needed. ***** =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 = *|. o.| || 1200/2400/9600 Dual | o |// For all you do, this bug's for you! ====== usenet: ...mcnc!rti!sas!walker plink: dwalker bix: djwalker