Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #13139

Re: No fread and fwrite for wide characters?

From Phil Carmody <thefatphil_demunged@yahoo.co.uk>
Newsgroups comp.lang.c
Subject Re: No fread and fwrite for wide characters?
Date 2011-11-12 00:28 +0200
Organization A noiseless patient Spider
Message-ID <87k476cn0v.fsf@bazspaz.fatphil.org> (permalink)
References <j9h1ff$odc$1@oravannahka.helsinki.fi> <4EBC0B3D.5040504@verizon.net> <j9h3bu$p8k$1@oravannahka.helsinki.fi> <4EBC1A22.5090407@verizon.net> <j9hmdp$at8$1@oravannahka.helsinki.fi>

Show all headers | View raw


Lauri Alanko <la@iki.fi> writes:
> In article <4EBC1A22.5090407@verizon.net>,
> James Kuyper  <jameskuyper@verizon.net> wrote:
> > So, this is not at all the wide character equivalent of fwrite(), which
> > makes more sense, since narrow characters have nothing to do fwrite().
> 
> They certainly do, since as you quoted, fwrite is just a utility for
> looping fputc()-calls.

What are you gibbering about?

       size_t fwrite(const void * restrict ptr,
                    size_t size, size_t nmemb,
                    FILE * restrict stream);

There is precisely *nothing* related to the characters one sends to fputc
in that function declaration. End of. Any attempts to counter my argument
are, like *ptr, void.

Phil
-- 
Unix is simple. It just takes a genius to understand its simplicity
-- Dennis Ritchie (1941-2011), Unix Co-Creator

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

No fread and fwrite for wide characters? Lauri Alanko <la@iki.fi> - 2011-11-10 17:26 +0000
  Re: No fread and fwrite for wide characters? James Kuyper <jameskuyper@verizon.net> - 2011-11-10 12:34 -0500
    Re: No fread and fwrite for wide characters? Lauri Alanko <la@iki.fi> - 2011-11-10 17:58 +0000
      Re: No fread and fwrite for wide characters? James Kuyper <jameskuyper@verizon.net> - 2011-11-10 13:38 -0500
        Re: No fread and fwrite for wide characters? Lauri Alanko <la@iki.fi> - 2011-11-10 23:23 +0000
          Re: No fread and fwrite for wide characters? Harald van Dijk <truedfx@gmail.com> - 2011-11-11 09:33 -0800
            Re: No fread and fwrite for wide characters? Lauri Alanko <la@iki.fi> - 2011-11-12 00:09 +0000
          Re: No fread and fwrite for wide characters? Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-11-12 00:28 +0200
            Re: No fread and fwrite for wide characters? Ike Naar <ike@sverige.freeshell.org> - 2011-11-11 22:58 +0000
              Re: No fread and fwrite for wide characters? Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-11-12 14:07 +0200
            Re: No fread and fwrite for wide characters? James Kuyper <jameskuyper@verizon.net> - 2011-11-11 18:00 -0500

csiph-web