as i was drifting off to sleep the other night, i was wondering about varargs. (clearly, it's time for a vacation.)
and i wondered why kenc doesn't add an argument count before the first vararg. (bwc pointed out that the address following the last vararg would be more useful.) va_* could be updated to deal with the silent extra and abort on access beyond the end of the actual variable arguments. a function to check that list == end could added for the paranoid. since all code is prototyped these days, is there any reason why this is a bad idea that i haven't thought of? - erik