The order of string copying

Bear with me kruger at 16bits.dec.com
Sat Mar 26 08:35:00 AEST 1988


I can't believe people are actually arguing over what the manual of a UNIX
compiler guarantees. If you want a given order guaranteed, formalize it in the
standard quickly, before it's too late. I doubt you can get it in, of course.

If you don't get it in, then the standard says the order is implementation
defined, right? So you have NO guarantee, as all UNIX compilers are going to
move towards the standard and you could conceivably find your functions breakingif you assume an order -- whether the current manual says so or not.

So for the few cases where you are order-dependent, roll yer own.

dov



More information about the Comp.lang.c mailing list