Sujet : Re: encapsulating directory operations
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 25. May 2025, 23:29:05
Autres entêtes
Organisation : None to speak of
Message-ID : <87a570jpe6.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Gnus/5.13 (Gnus v5.13)
"Paul Edwards" <
mutazilah@gmail.com> writes:
[...]
E.g. I can't drive an EBCDIC X3.64 terminal unless C90
provides an ESC define.
[...]
Of course you can. You can just use '\x27' in your code. It doesn't
have to be part of the language standard. If you have an application
that, for whatever reason, needs to drive both ASCII and EBCDIC
terminals, you can configure it by any means you like to use
'\x1b' or '\x27` (command-line argument, environment variable,
configuration file, reply from the terminal, whatever).
The idea that you can't do that without a constant defined in your
language standard is just silly.
[...]
That's what C90 is all about after all - making things as
completely portable as possible.
[...]
No, that's not what C90 was ever about. Very few C programs are
completely portable, because they don't need to be.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */