Re: write error



Nobody wrote:
On Mon, 17 Aug 2009 09:06:57 -0700, Keith Thompson wrote:


The most confusing thing about the concept of an EOF condition is that
there's no such thing. EOF is a macro. End-of-file is a condition.


"EOF" doesn't only refer to the C macro with that name. It can just be an
abbreviation for "end of file".

"eof" would be a zillion times better.

--
pete
.



Relevant Pages

  • Re: Date-stamping a letter
    ... What about buffering? ... Note that various version control systems can make a timestamp "comment" ... So much like Piet's macro, ... %%EOF ...
    (comp.text.tex)
  • Re: write error
    ... End-of-file is a condition. ... "EOF" doesn't only refer to the C macro with that name. ...
    (comp.lang.c)
  • Re: write error
    ... "EOF" doesn't only refer to the C macro with that name. ... abbreviation for "end of file". ... not as an abbreviation for end-of-file. ...
    (comp.lang.c)
  • Re: Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ?
    ... >> shall equal the value of the macro EOF. ... > int) is not among the 'space' characters. ... but this is difficult to do in a macro. ... > The Standard's mention of 'unsigned char' in this context is ...
    (comp.lang.c)
  • Re: looking at binary files with C
    ... if (c!= EOF) { ... // macro for function ... ifG err; ...
    (comp.lang.c)