Annotation of 43BSD/contrib/mh/sbr/r1bindex.c, revision 1.1.1.1

1.1       root        1: /* r1bindex.c - right plus 1 or beginning index */
                      2: 
                      3: 
                      4: char *r1bindex(str, chr)
                      5: register char *str;
                      6: register int chr;
                      7: {
                      8:     register char  *cp;
                      9: 
                     10:     for (cp = str; *cp; cp++)
                     11:        continue;
                     12:     --cp;
                     13:     while (cp >= str && *cp != chr)
                     14:        --cp;
                     15:     return (++cp);
                     16: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.