1WCSWCS(P) POSIX Programmer's Manual WCSWCS(P)
2
3
4
6 wcswcs - find a wide substring (LEGACY)
7
9 #include <wchar.h>
10
11 wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);
12
13
15 The wcswcs() function shall locate the first occurrence in the wide-
16 character string pointed to by ws1 of the sequence of wide-character
17 codes (excluding the terminating null wide-character code) in the wide-
18 character string pointed to by ws2.
19
21 Upon successful completion, wcswcs() shall return a pointer to the
22 located wide-character string or a null pointer if the wide-character
23 string is not found.
24
25 If ws2 points to a wide-character string with zero length, the function
26 shall return ws1.
27
29 No errors are defined.
30
31 The following sections are informative.
32
34 None.
35
37 This function was not included in the final ISO/IEC 9899:1990/Amendment
38 1:1995 (E). Application developers are strongly encouraged to use the
39 wcsstr() function instead.
40
42 None.
43
45 This function may be withdrawn in a future version.
46
48 wcschr() , wcsstr() , the Base Definitions volume of
49 IEEE Std 1003.1-2001, <wchar.h>
50
52 Portions of this text are reprinted and reproduced in electronic form
53 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
54 -- Portable Operating System Interface (POSIX), The Open Group Base
55 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
56 Electrical and Electronics Engineers, Inc and The Open Group. In the
57 event of any discrepancy between this version and the original IEEE and
58 The Open Group Standard, the original IEEE and The Open Group Standard
59 is the referee document. The original Standard can be obtained online
60 at http://www.opengroup.org/unix/online.html .
61
62
63
64IEEE/The Open Group 2003 WCSWCS(P)