unicspn(3nw)


unicspn -- scans string for initial segment not containing subset of given character set

Synopsis

   #include <unicode.h> 
   

size_t N_API unicspn (unicode N_FAR * s1, unicode N_FAR * s2);

Description

The parameters are as follows:

s1
(IN) Points to the string to be scanned.

s2
(IN) Points to the character set.

Return values

Length of the initial segment of s1 consisting entirely of characters not from s2.

Notices

unicspn corresponds to C strcspn.

Services

Unicode

NCP calls

None

References

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