1WCSWCS(3P)                 POSIX Programmer's Manual                WCSWCS(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       wcswcs - find a wide substring (LEGACY)
13

SYNOPSIS

15       #include <wchar.h>
16
17       wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);
18
19

DESCRIPTION

21       The wcswcs() function shall locate the first occurrence  in  the  wide-
22       character  string  pointed  to by ws1 of the sequence of wide-character
23       codes (excluding the terminating null wide-character code) in the wide-
24       character string pointed to by ws2.
25

RETURN VALUE

27       Upon  successful  completion,  wcswcs()  shall  return a pointer to the
28       located wide-character string or a null pointer if  the  wide-character
29       string is not found.
30
31       If ws2 points to a wide-character string with zero length, the function
32       shall return ws1.
33

ERRORS

35       No errors are defined.
36
37       The following sections are informative.
38

EXAMPLES

40       None.
41

APPLICATION USAGE

43       This function was not included in the final ISO/IEC 9899:1990/Amendment
44       1:1995  (E).  Application developers are strongly encouraged to use the
45       wcsstr() function instead.
46

RATIONALE

48       None.
49

FUTURE DIRECTIONS

51       This function may be withdrawn in a future version.
52

SEE ALSO

54       wcschr(),    wcsstr(),    the    Base     Definitions     volume     of
55       IEEE Std 1003.1-2001, <wchar.h>
56
58       Portions  of  this text are reprinted and reproduced in electronic form
59       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
60       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
61       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
62       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
63       event of any discrepancy between this version and the original IEEE and
64       The  Open Group Standard, the original IEEE and The Open Group Standard
65       is the referee document. The original Standard can be  obtained  online
66       at http://www.opengroup.org/unix/online.html .
67
68
69
70IEEE/The Open Group                  2003                           WCSWCS(3P)
Impressum