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

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

WCSSTR(3)

Contents


NAME    [Toc]    [Back]

       wcsstr - locate a substring in a wide-character string

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       wchar_t *wcsstr (const wchar_t *haystack, const wchar_t *needle);

DESCRIPTION    [Toc]    [Back]

       The  wcsstr  function  is  the  wide-character equivalent of the strstr
       function. It searches for the first occurrence  of  the	wide-character
       string  needle (without its terminating L'\0' character) as a substring
       in the wide-character string haystack.

RETURN VALUE    [Toc]    [Back]

       The wcsstr function returns a pointer to the first occurrence of needle
       in haystack. It returns NULL if needle does not occur as a substring in
       haystack.

       Note the special case: If needle is the	empty  wide-character  string,
       the return value is always haystack itself.

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       strstr(3), wcschr(3)



GNU				  1999-07-25			     WCSSTR(3)
[ Back ]
 Similar pages
Name OS Title
wcswcs Tru64 Searche for a substring in a wide-character string.
strstr NetBSD locate a substring in a string
strcasestr FreeBSD locate a substring in a string
strnstr FreeBSD locate a substring in a string
strstr OpenBSD locate a substring in a string
strstr FreeBSD locate a substring in a string
wcsstr Tru64 Find a wide-character substring
strstr Linux locate a substring
memmem Linux locate a substring
wcspbrk Tru64 Locate the first occurrence of a wide character
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service