memchr_inv(9)

memchr_inv9

Find an unmatching character in an area of memory.

Usage

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.

Overview

returns the address of the first character other than c, or NULL if the whole buffer contains just c.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.