memchr is required by ansi to treat the argument character and the data as unsigned chars, and the extension memccpy might as well too. normal libc already does that.