freebsd man page for memcchr

Query: memcchr

OS: freebsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MEMCCHR(9)						   BSD Kernel Developer's Manual						MEMCCHR(9)

NAME
memcchr -- locate the complement of a byte in byte string
SYNOPSIS
#include <sys/libkern.h> void * memcchr(const void *b, int c, size_t len);
DESCRIPTION
The memcchr() function locates the first occurrence of a byte unequal to c (converted to an unsigned char) in string b.
RETURN VALUES
The memcchr() function returns a pointer to the byte located, or NULL if no such byte exists within len bytes.
SEE ALSO
memchr(3)
HISTORY
The memcchr() function first appeared in FreeBSD 10.0.
BSD
January 1, 2012 BSD
Related Man Pages
strrchr(3) - mojave
memrchr(3) - redhat
strchrnul(3) - freebsd
memrchr(3) - netbsd
index(3) - osx
Similar Topics in the Unix Linux Community
Mac OS X: Based on UNIX - Solid As a Rock
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
Scripts without shebang
Controlling user input