unirchr(3nw)


unirchr -- scans string in reverse direction, searching for last occurrence of character

Synopsis

   #include <unicode.h> 
   

unicode N_FAR *N_API unirchr (unicode N_FAR * s, int c);

Description

The parameters are as follows:

s
(IN) Points to the string to scan.

c
(IN) Specifies the character to find.

Return values

Pointer to the last occurrence of character c.

Null is returned if c does not occur in s.

Notices

unirchr searches for the last occurence of c in s. It considers the null terminator to be part of the string.

unirchr corresponds to C strrchr.

Services

Unicode

NCP calls

None

References

unichr(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.