#include #include char* str·rfindc(char *s, int c) { int n; n = str·len(s); c = (uchar)c; while(n--) if(s[n]==c) return s+n; return nil; }