unispn(3nw)


unispn -- finds first segment of string consisting entirely of characters from other string

Synopsis

   #include <unicode.h> 
   

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

Description

The parameters are as follows:

s1
(IN) Points to the string to test.

s2
(IN) Points to the character set.

Return values

Length of the first segment of s1 consisting entirely of characters from s2.

Notices

unispn corresponds to C strspn.

Services

Unicode

NCP calls

None

References

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