Article View: gnu.gcc.help
Article #49450AINSI???? Odd byte align in structures
From: Jan Piper
Date: Sat, 22 Jan 1994 01:05
Date: Sat, 22 Jan 1994 01:05
9 lines
1051 bytes
1051 bytes
Hi, I'm trying to generate an executable that will read and write structures with an odd number of bytes using fread and fwrite. I have not found any preprocessor pragma or compile time switches to allow sizeof along with fread and fwrite to work correctly. If you have any insight on a possible solution, please don't keep it to yourself. Thanks in advance JanP
Technical Details
Message-ID:
<9401220022.AA18953@etak.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!pipex!uunet!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!etak.COM!janShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1024c00fad95fc13,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-22 09:02:26 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!pipex!uunet!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!etak.COM!jan From: jan@etak.COM (Jan Piper) Newsgroups: gnu.gcc.help Subject: AINSI???? Odd byte align in structures Date: 21 Jan 1994 20:05:20 -0500 Organization: GNUs Not Usenet Lines: 9 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9401220022.AA18953@etak.com>