Library /sys$common/syshlp/helplib.hlb  —  CRTL  rindex
    Searches for a character in a string.

    Format

      #include  <strings.h>

      char *rindex  (const char *s, int c);

1  –  Function Variants

    The rindex function has variants named _rindex32 and _rindex64
    for use with 32-bit and 64-bit pointer sizes, respectively.

2  –  Arguments

 s

    The string to search.

 c

    The character to search for.

3  –  Description

    The rindex function is identical to the strchr function, and is
    provided for compatibility with some UNIX implementations.
Close Help