2 ** Copyright 2001, Manuel J. Petit. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
11 memchr(void const *buf
, int c
, size_t len
)
13 unsigned char const *b
= buf
;
14 unsigned char x
= (c
&0xff);
17 for (i
= 0; i
< len
; i
++) {
19 return (void*)(b
+ i
);