1STRCHRNUL(9) Basic C Library Functions STRCHRNUL(9)
23
4
NAME
6strchrnul - Find and return a character in a string, or end of string
7
SYNOPSIS
9char * strchrnul(const char * s, int c);
10
ARGUMENTS
12s
13The string to be searched
1415
c
16The character to search for
17
DESCRIPTION
19Returns pointer to first occurrence of 'c' in s. If c is not found,
20then return a pointer to the null byte at the end of s.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 STRCHRNUL(9)