source: trunk/minix/lib/other/rindex.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 236 bytes
Line 
1#include <lib.h>
2/* rindex - find last occurrence of a character in a string */
3
4#include <string.h>
5
6char *rindex(s, charwanted) /* found char, or NULL if none */
7_CONST char *s;
8char charwanted;
9{
10 return(strrchr(s, charwanted));
11}
Note: See TracBrowser for help on using the repository browser.