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