| Main index | Section 3 | 日本語 | Deutsch | 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 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |