wcsstr(3)


NAME

   wcsstr - locate a substring in a wide-character string

SYNOPSIS

   #include <wchar.h>

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

DESCRIPTION

   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.

RETURN VALUE

   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.

ATTRIBUTES

   For   an   explanation   of   the  terms  used  in  this  section,  see
   attributes(7).

   
   Interface  Attribute      Value   
   
   wcsstr()   Thread safety  MT-Safe 
   

CONFORMING TO

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

SEE ALSO

   strstr(3), wcschr(3)

COLOPHON

   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
   https://www.kernel.org/doc/man-pages/.


More Linux Commands

manpages/XML::PatAct::PatternTempl.3pm.html
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

manpages/git-citool.1.html
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

manpages/ptx.1.html
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

manpages/gnu_dev_major.3.html
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

manpages/ffmvforce.1.html
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

manpages/readprofile.1.html
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

manpages/bitmap.n.html
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

manpages/systemd-sysctl.service.8.html
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

manpages/ppmddumpfont.1.html
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

manpages/Magick-config.1.html
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

manpages/XGetAtomName.3.html
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

manpages/guards.1.html
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.