Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: void* Message-ID: <13499@smoke.BRL.MIL> Date: 6 Aug 90 19:28:50 GMT References: <40624@mips.mips.COM> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 6 In article <40624@mips.mips.COM> sah@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.