NWLstrrchr(3nw)
NWLstrrchr --
locates the last occurrence of a character in a string
Synopsis
#include <time.h> or #define NWL_EXCLUDE_TIME
#include <stdio.h> or #define NWL_EXCLUDE_FILE
#include <nwlocale.h>
char NWFAR NWAPI NWLstrrchr
(char NWFAR string,
int find);
Description
The parameters are as follows:
- string
-
(IN) Points to the string to search.
- find
-
(IN) Specifies the character for which to search (single- or double-byte).
Return values
- NULL
-
string is NULL or no match is found.
- Non-NULL
-
Pointer to the character specified by find (indicates a match is
found).
Notices
NWLstrrchr searches backwards for find.
Services
Internationalization
NCP calls
None
References
NWLsetlocale(3nw),
NWLstrchr(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.