strchrnul(9)

strchrnul9

Find and return a character in a string, or end of string

Usage

char * strchrnul(const char * s, int c);

Arguments

s

The string to be searched

c

The character to search for

Overview

Returns pointer to first occurrence of 'c' in s. If c is not found, then return a pointer to the null byte at the end of s.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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