EOL WAR

Peter da Silva peter at graffiti.UUCP
Tue Sep 17 07:36:23 AEST 1985


> HOLD IT, HOLD IT !!!
> 
> Sorry to start such a war by suggesting:
> 
> #define		EOL		'\0'
> 
> I had used this definition a couple of times when manipulating text coming
> from human-type interfaces (i.e. computer control of human interfaces).
> While manipulating such "lines"
> of text, I would remove format characters and terminate the string with an
> EOL (\0).

Why not call it an EOS? As you point out, what you're dealing with aren't
really lines anyway.



More information about the Comp.lang.c mailing list