strchrnul (9) - Linux Manuals
strchrnul: Find and return a character in a string, or end of string
Command to display strchrnul
manual in Linux: $ man 9 strchrnul
NAME
strchrnul - Find and return a character in a string, or end of string
SYNOPSIS
-
char * strchrnul(const char * s, int c);
ARGUMENTS
s
-
- The 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
Pages related to strchrnul
- strchrnul (3) - locate character in string
- strchr (9) - Find the first occurrence of a character in a string
- strcat (9) - Append one NUL-terminated string to another
- strcmp (9) - Compare two strings
- strcpy (9) - Copy a NUL terminated string
- strcspn (9) - Calculate the length of the initial substring of s which does not contain letters in reject
- strim (9) - Removes leading and trailing whitespace from s.