.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" %sccs.include.redist.man%
.\" @(#)memchr.3 5.1 (Berkeley) %G%
memchr \- locate byte in byte string
memchr(const void *b, int c, size_t len);
locates the first occurrence of
(converted to an unsigned char)
It returns a pointer to the byte located,
or NULL if no such byte exists within
index(3), rindex(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3),
strsep(3), strspn(3), strstr(3), strtok(3)
conforms to ANSI X3.159-1989 (``ANSI C'').