wcsstr(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

wcsstr(3c)

wcsstr(3C)               Standard C Library Functions               wcsstr(3C)

NAME
       wcsstr, wcswcs - find a wide-character substring

SYNOPSIS
       #include <wchar.h>

       wchar_t *wcsstr(const wchar_t *restrict ws1, const wchar_t *restrict ws2);


       wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);

   ISO C++
       #include <wchar.h>

       const wchar_t *wcsstr(const wchar_t *ws1, const wchar_t *ws2);


       #include <cwchar>

       wchar_t *std::wcsstr(wchar_t *ws1, const wchar_t *ws2);

DESCRIPTION
       The  wcsstr() function locates the first occurrence in the wide-charac‐
       ter string pointed to by ws1 of the sequence  of  wide-characters  (ex‐
       cluding  the  terminating  null  wide-character)  in the wide-character
       string pointed to by ws2.


       The wcswcs() function performs the same operation as the wcsstr() func‐
       tion. It is provided for backwards compatibility with  older  standards
       and  older  Solaris releases. New code should use the wcsstr() function
       instead for greater portability.

RETURN VALUES
       On successful completion, wcsstr() returns a  pointer  to  the  located
       wide-character  string,  or a null pointer if the wide-character string
       is not found.


       If ws2 points to a wide-character string with zero length, the function
       returns ws1.

ERRORS
       No errors are defined.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE  _  Interface StabilityCommitted _ MT-LevelAsync-Signal-
       Safe _ StandardSee below.


   Standard
       See standards(7) for descriptions of the following standards:

       tab() box; cw(2.44i) |cw(3.06i) lw(2.44i) |lw(3.06i) INTERFACESAPPLICA‐
       BLE STANDARDS _ wcsstr()T{
         C95 through C11,
         POSIX.1-2001 through 2008,
         SUS through SUSv4,
         XPG4 through XPG7

       T} _ wcswcs()T{
         POSIX.1-2001,
         SUS through SUSv3,
         XPG4 through XPG6

       T}


SEE ALSO
       wschr(3C), attributes(7), standards(7)

HISTORY
       The wcsstr() function was added to Solaris in the Solaris 7 release.


       The wcswcs() function was added to Solaris in the Solaris 2.4 release.

Oracle Solaris 11.4               25 Nov 2024                       wcsstr(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3