table of contents
other versions
MEMCHR(9) | Basic C Library Functions | MEMCHR(9) |
NAME¶
memchr - Find a character in an area of memory.SYNOPSIS¶
void * memchr(const void * s, int c, size_t n);
ARGUMENTS¶
const void * sThe memory area
int c
The byte to search for
size_t n
The size of the area.
DESCRIPTION¶
returns the address of the first occurrence of c, or NULL if c is not foundCOPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |