NWLstrpbrk(3nw)


NWLstrpbrk -- locates the first occurrence in a specified string of given characters from another string

Synopsis

   #include <time.h> or #define NWL_EXCLUDE_TIME 
   #include <stdio.h> or #define NWL_EXCLUDE_FILE 
   #include <nwlocale.h> 
   

char NWFAR *NWAPI NWLstrpbrk (char NWFAR *string1, const char NWFAR *string2);

Description

The parameters are as follows:

string1
(IN) Points to the string to search.

string2
(IN) Points to the list of characters to search for in string1.

Return values

NULL
No characters from string2 are in string1

Non-NULL
Pointer to the first matching character (indicates characters from string2 are in string1).

Notices

NWLstrpbrk is sensitive to double-byte characters if the locale includes double-byte characters.

Services

Internationalization

NCP calls

None

References

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