Article View: comp.sys.amiga.tech
Article #4824Re: I/O of complex data structures in C
From: Mike (Real Amigas have keyboard ...
Date: Fri, 10 Aug 1990 20:01
Date: Fri, 10 Aug 1990 20:01
18 lines
1424 bytes
1424 bytes
In article <6323@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: What *I* want to know is why all the stdio routines put the FILE* at the end instead of the beginning so they can be compatible with fprintf. And explain the rationale for the assymetry between gets() and fgets(). Because some of them come from the Portable IO library, and were added to the Standard IO library afterwards for backwards compatability. BTW, use of gets() is considered a bug in some quarters (mostly those that lost a weekend to the internet worm). <mike -- Es brillig war. Die schlichte Toven Mike Meyer Wirrten und wimmelten in Waben; mwm@relay.pa.dec.com Und aller-mumsige Burggoven decwrl!mwm Die mohmem Rath' ausgraben.
Technical Details
Message-ID:
<MWM.90Aug10150109@raven.pa.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!bacchus.pa.dec.com!granite.pa.dec.com!mwmReferences:
<140087@sun.Eng.Sun.COM> <25884@mimsy.umd.edu> <dillon.5326@overload.Berkeley.CA.US> <6323@sugar.hackercorp.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!bacchus.pa.dec.com!granite.pa.dec.com!mwm From: mwm@raven.pa.dec.com (Mike (Real Amigas have keyboard garages) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: I/O of complex data structures in C Message-ID: <MWM.90Aug10150109@raven.pa.dec.com> Date: 10 Aug 90 20:01:09 GMT References: <140087@sun.Eng.Sun.COM> <25884@mimsy.umd.edu> <dillon.5326@overload.Berkeley.CA.US> <6323@sugar.hackercorp.com> Sender: news@wrl.dec.com (News) Organization: Missionaria Phonibalonica Lines: 18 In-Reply-To: peter@sugar.hackercorp.com's message of 9 Aug 90 23:44:00 GMT