Main index | Section 3 | Options |
#include <string.h>
The strrchr() function is identical to strchr() except it locates the last occurrence of c.
The strchrnul() function is identical to strchr() except that if c is not found in s a pointer to the terminating ‘\0’ is returned.
strchrnul() returns a pointer to the terminating ‘\0’ if the character does not appear in the string.
STRCHR (3) | February 13, 2013 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Modern Unix impedes progress in computer science, wastes billions of dollars, and destroys the common sense of many who seriously use it. | ” |
— The Unix Haters' handbook |