STRCHRNUL(9) | Basic C Library Functions | STRCHRNUL(9) |
NAME¶
strchrnul - Find and return a character in a string, or end of stringSYNOPSIS¶
char * strchrnul(const char * s, int c);
ARGUMENTS¶
sThe string to be searched
c
The character to search for
DESCRIPTION¶
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.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |