🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4803

Re: I/O of complex data structures in C

#4803
From: Peter da Silva
Date: Thu, 09 Aug 1990 23:44
18 lines
1261 bytes
In article <dillon.5326@overload.Berkeley.CA.US> dillon@overload.Berkeley.CA.US (Matthew Dillon) writes:
>     Why am I interjecting what has already been said?  Because nobody has
>     yet explained the one point that confused the hell out of me when I
>     first started learning C, and that is WHY are there two size arguments?!!

So it can return the number of ojbects written to be compatible with fread?

:->

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().

Sigh.
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID: <6323@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!peter
References: <140087@sun.Eng.Sun.COM> <25884@mimsy.umd.edu> <dillon.5326@overload.Berkeley.CA.US>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re:  I/O of complex data structures in C
Message-ID: <6323@sugar.hackercorp.com>
Date: 9 Aug 90 23:44:00 GMT
References: <140087@sun.Eng.Sun.COM> <25884@mimsy.umd.edu> <dillon.5326@overload.Berkeley.CA.US>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 18