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

NAME

6       strchrnul - Find and return a character in a string, or end of string
7

SYNOPSIS

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

ARGUMENTS

12       s
13           The string to be searched
14
15       c
16           The character to search for
17

DESCRIPTION

19       Returns pointer to first occurrence of 'c' in s. If c is not found,
20       then return a pointer to the null byte at the end of s.
21
23Kernel Hackers Manual 3.10         June 2019                      STRCHRNUL(9)
Impressum