memcchr — locate the complement of a byte in byte string
Contents
Description
The memcchr() function locates the first occurrence of a byte unequal to c (converted to an unsignedchar) in string b.
History
The memcchr() function first appeared in FreeBSD 10.0.
Debian January 1, 2012 MEMCCHR(9)
Name
memcchr — locate the complement of a byte in byte string
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)
Synopsis
#include<sys/libkern.h>void*memcchr(constvoid*b, intc, size_tlen);
