Path: csiph.com!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 07 Jun 2017 14:55:02 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: memscan() function or equivalent References: <20170607154705.f161b2807eb2b1a8dc12d389@gmail.com> <12fb0e96-0ac3-442d-8d04-baaef4234a85@googlegroups.com> <20170607164800.a6fba9d07170ec5d056d25a0@gmail.com> <878tl3g5jw.fsf@bsb.me.uk> Date: Wed, 07 Jun 2017 20:55:02 +0100 Message-ID: <87shjb4lpl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:HCVXMk0wlCTnRBWHbe7hegkf37E= MIME-Version: 1.0 Content-Type: text/plain Lines: 9 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-LWow+RnDp2RJwwe6sENC0DO/f6UwkNqmwETy5WdYGSzAL9V8BskDKLtuoKtmnXGMEwmMTCGLQrS7Oj9!t4nURXaG2YsIACD20IVsMoRfv5JWf4WGmEJKQQzfWHBesyRhpDkvHaNdwfQZYkAjwD4ZUoA= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1562 Xref: csiph.com comp.lang.c:111750 Keith Thompson writes: > bartc writes: > [...] >> One more thing with the C version: n is size_t so probably unsigned. > > "probably"? He's writing a C compiler you know.