.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" Chris Torek and the American National Standards Committee X3,
.\" on Information Processing Systems.
.\" %sccs.include.redist.man%
.\" @(#)memchr.3 5.4 (Berkeley) %G%
.Nd locate byte in byte string
.Fn memchr "const void *b" "int c" "size_t len"
locates the first occurrence of
(converted to an unsigned char)
returns a pointer to the byte located,
or NULL if no such byte exists within