Name
memchr_inv —
Find an unmatching character in an area of memory.
Synopsis
void * memchr_inv ( | const void * start, |
| int c, |
| size_t bytes) ; |
Arguments
start
The memory area
c
Find a character other than c
bytes
The size of the area.
Description
returns the address of the first character other than c
, or NULL
if the whole buffer contains just c
.