*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> wcsstr (3)              
Title
Content
Arch
Section
 

wcsstr(3)

Contents


NAME    [Toc]    [Back]

       wcsstr - Find a wide-character substring

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       char_t *wcsstr(
               const wchar_t *s1,
               const wchar_t *s2 );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       wcsstr(): XSH5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

PARAMETERS    [Toc]    [Back]

       Specifies the wide-character string being searched.  Specifies
 the wide-character substring to be located.

DESCRIPTION    [Toc]    [Back]

       The wcsstr() function locates the first occurrence in  the
       wide-character  string  pointed  to by the s1 parameter of
       the sequence of  wide  characters  in  the  wide-character
       string  pointed to by the s2 parameter, excluding the terminating
 null wide character.

RETURN VALUES    [Toc]    [Back]

       Upon successful completion, the wcsstr() function  returns
       a  pointer  to  the  located wide-character substring or a
       null pointer when the substring is not found.  If  the  s2
       parameter  points  to  a wide-character substring having 0
       (zero) length, the wcsstr() function  returns  the  entire
       wide-character string pointed to by parameter s1.

       [Tru64  UNIX]  On  error,  the  function  returns  a  null
       pointer.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: strstr(3), wcswcs(3)

       Standards: standards(5)



                                                        wcsstr(3)
[ Back ]
 Similar pages
Name OS Title
wcswcs Tru64 Searche for a substring in a wide-character string.
wcsstr Linux locate a substring in a wide-character string
strstr Tru64 Find a substring
wcslen Tru64 Find length of wide-character string
wcsrchr Linux search a wide character in a wide-character string
wmemchr Linux search a wide character in a wide-character array
wcschr Linux search a wide character in a wide-character string
getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
setcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
curs_getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service