1MEMCHR_INV(9) Basic C Library Functions MEMCHR_INV(9)
23
4
NAME
6memchr_inv - Find an unmatching character in an area of memory.
7
SYNOPSIS
9void * memchr_inv(const void * start, int c, size_t bytes);
10
ARGUMENTS
12start
13The memory area
1415
c
16Find a character other than c
1718
bytes
19The size of the area.
20
DESCRIPTION
22returns the address of the first character other than c, or NULL if the
23whole buffer contains just c.
24
COPYRIGHT
26Kernel Hackers Manual 3.10 June 2019 MEMCHR_INV(9)