wcsstr - locate a substring in a wide-character string


   #include <wchar.h>

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


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


   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.


   For   an   explanation   of   the  terms  used  in  this  section,  see

   Interface  Attribute      Value   
   wcsstr()   Thread safety  MT-Safe 


   POSIX.1-2001, POSIX.1-2008, C99.


   strstr(3), wcschr(3)


   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at

More Linux Commands

XML::PatAct::PatternTempl(3pm) - A pattern module for.......
XML::PatAct::PATTERN is a pattern module for use with PatAct action modules for applying pattern-action lists to XML parses or trees. XML::PatAct::PATTERN ... P

git-citool(1) - Graphical alternative to git-commit.........
A Tcl/Tk based graphical interface to review modified files, stage them into the index, enter a commit message and record the new commit onto the current branch

ptx(1) - produce a permuted index of file contents (ManPage)
Output a permuted index, including context, of the words in the input files. Mandatory arguments to long options are mandatory for short options too. -A, --auto

gnu_dev_major(3) - manage a device number - Linux man page
A device ID consists of two parts: a major ID, identifying the class of the device, and a minor ID, identifying a specific instance of a device in that class. A

ffmvforce(1) force orientation test for force-feedback devic
ffmvforce generates a force in a given direction, indicated by the position of the mouse pointer in relation to the center of the tools window. Beware, the stre

readprofile(1) - read kernel profiling information (ManPage)
readprofile.1 - The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three columns: the

bitmap(n) - Images that display two colors - Linux man page
A bitmap is an image whose pixels can display either of two colors or be transparent. A bitmap image is defined by four things: a background color, a foreground

systemd-sysctl.service(8) Configure kernel parameters at boo
systemd-sysctl.service is an early-boot service that configures sysctl(8) kernel parameters. See sysctl.d(5) for information about the configuration of this ser

ppmddumpfont(1) - dump a Ppmdfont file - Linux manual page
This program is part of Netpbm(1) ppmddumpfont reads a Ppmdfont file on Standard Input and writes to Standard Error a human readable description of the font. (T

Magick-config(1) - get information about the installed versi
Magick-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Programmer Interface. EXAMPLES To

XGetAtomName(3) - create or return atom names (Man Page)....
The XInternAtom function returns the atom identifier associated with the specified atom_name string. If only_if_exists is False, the atom is created if it does

guards(1) - select from a list of files guarded by condition
The script reads a configuration file that may contain so-called guards, file names, and comments, and writes those file names that satisfy all guards to standa

We can't live, work or learn in freedom unless the software we use is free.