| 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.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||