| 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.
| “ | When people say "Drive safe!" I'm like no, a safe is for keeping money, I drive car. | ” |
| — Artur Bagyants | ||