unistr(3nw)


unistr -- scans string for first occurrence of specified substring

Synopsis

   #include <unicode.h> 
   

unicode N_FAR *N_API unistr (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 string to be located.

Return values

Non-NULL
Pointer to the element in s1, where s2 begins (points to s2 in s1.

NULL
s2 does not occur in s1.

Notices

unistr corresponds to C strstr.

Services

Unicode

NCP calls

None

References

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