But functions that take char * as an arg or return same don't have a
byte-to-char mapping, even if they still work (it doesn't matter which
byte of a wide character differs in a strcmp(), only whether all bytes
match; but if you need to know the magnitude of the difference if they
don't match, now you need a whole different function than what a million
C/C++ programmers already know).
Programmers who like C for it's simplicity are going to find this
irritating, this isn't "portable assembler" any more. Familiar string
idioms are going to be mostly worthless. It may help reduce the chaos
to use lclint's abstract interface annotation and checking on wide char
string code.
Regards, Clayton Weaver cgweav@eskimo.com (Seattle)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu