Jonathan Stone <jonathan@DSG.Stanford.EDU> writes: > u_short VOLATILE rem; > rem = 0; > *(VOLATILE char *)&rem = buf[len-1]; The result of dereferencing a casted pointer is explicitly implementation-defined in ANSI C. It was never defined at all in K&R C. So at best this is non-portable code.