Annotated edit history of
wcsstr(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
WCSSTR |
|
|
2 |
!!!WCSSTR |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
wcsstr - locate a substring in a wide-character string |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''haystack''__, const wchar_t *__''needle''__); |
|
|
19 |
__ |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The __wcsstr__ function is the wide-character equivalent |
|
|
24 |
of the __strstr__ function. It searches for the first |
|
|
25 |
occurrence of the wide-character string ''needle'' |
|
|
26 |
(without its terminating L'0' character) as a substring in |
|
|
27 |
the wide-character string ''haystack''. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The __wcsstr__ function returns a pointer to the first |
|
|
32 |
occurrence of ''needle'' in ''haystack''. It returns |
|
|
33 |
NULL if ''needle'' does not occur as a substring in |
|
|
34 |
''haystack''. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
Note the special case: If ''needle'' is the empty |
|
|
38 |
wide-character string, the return value is always |
|
|
39 |
''haystack'' itself. |
|
|
40 |
!!CONFORMING TO |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
ISO/ANSI C, UNIX98 |
|
|
44 |
!!SEE ALSO |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
strstr(3), wcschr(3) |
|
|
48 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.