1MEMCHR(9)                  Basic C Library Functions                 MEMCHR(9)
2
3
4

NAME

6       memchr - Find a character in an area of memory.
7

SYNOPSIS

9       void * memchr(const void * s, int c, size_t n);
10

ARGUMENTS

12       s
13           The memory area
14
15       c
16           The byte to search for
17
18       n
19           The size of the area.
20

DESCRIPTION

22       returns the address of the first occurrence of c, or NULL if c is not
23       found
24
26Kernel Hackers Manual 3.10         June 2019                         MEMCHR(9)
Impressum