void*

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Aug 7 05:28:50 AEST 1990


In article <40624 at mips.mips.COM> sah at mips.COM (Steve Hanson) writes:
>however the inc/dec cause a temporary variable to be introduced:

That could be avoided by defining the function as
	void *memchr(const char *s, int c, unsigned int n)
which works because of the "same representation" requirement.



More information about the Comp.std.c mailing list