strcpy wars, jeez! A proposed resolution.

Justin Chris Vallon jv0l+ at andrew.cmu.edu
Sun Apr 3 08:05:57 AEST 1988


>"... implementation defined."

Means NON-PORTABLE!  If implementation X does it one way [ie strcpy(s, s+1)
works], and implementation Y does it another way [ie strcpy(s, s+1) does not
work], my program will behave very differently on different systems, but both
strcpy() functions adhere to the ANSI specs.

I cannot expect an ANSI standard which isn't a standard.  Isn't non-portable
code something that ANSI is trying to prevent, not endorse?

-Justin



More information about the Comp.lang.c mailing list