logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

memcchr — locate the complement of a byte in byte string

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);

See Also