[TUHS] History of strncpy
lm at bitmover.com
Thu Jan 24 16:02:05 AEST 2013
On Wed, Jan 23, 2013 at 04:46:51PM -0500, John Cowan wrote:
> Ronald Natalie scripsit:
> > Why on earth did they preserve the silly fread/fwrite size feature
> > that just multiplies the two middle args together long after it was
> > realized that portability doesn't demand making such a distinction.
> I like the idea: essentially it's about reading or writing an array
> of a specified type.
As a SPARC guy (in the past), I think it may have had something to do
That said, I hate the fread/fwrite interfaces. We're fixing them in
our stdio. freadn(f, buf, n).
Larry McVoy lm at bitmover.com http://www.bitkeeper.com
More information about the TUHS