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

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

wcschr(3)

Contents


NAME    [Toc]    [Back]

       wcschr,  wcsrchr - Search for the first or last occurrence
       of a wide character in a wide-character string

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       wchar_t *wcschr(
               const wchar_t *wcstring,
               wchar_t widecharacter ); wchar_t *wcsrchr(
               const wchar_t *wcstring,
               wchar_t widecharacter );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

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

       wcschr(), wcsrchr(): XSH5.0

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

PARAMETERS    [Toc]    [Back]

       Points to a string to search.  Specifies a wide  character
       to locate.

DESCRIPTION    [Toc]    [Back]

       The  wcschr() function locates the first occurrence of the
       widecharacter parameter in the string pointed  to  by  the
       wcstring parameter.

       The  wcsrchr() function locates the last occurrence of the
       widecharacter parameter in the string pointed  to  by  the
       wcstring parameter.

       The widecharacter value must be a wide-character code that
       corresponds to a valid character in the current locale and
       must  be  representable  as  type wchar_t. The terminating
       null wide character is considered to be part of the string
       being searched.

RETURN VALUES    [Toc]    [Back]

       The  wcschr()  and wcsrchr() functions return a pointer to
       the  widecharacter  parameter,  or  a  null   pointer   if
       widecharacter does not occur in the string.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: strchr(3), wcsstr(3), wcswcs(3)

       Standards: standards(5)



                                                        wcschr(3)
[ Back ]
 Similar pages
Name OS Title
DtEditorFind HP-UX search for the next occurrence of a string in a DtEditor widget
strrchr OpenBSD locate last occurrence of a character in a string
wcspbrk Tru64 Locate the first occurrence of a wide character
strchr OpenBSD locate first occurrence of a character in a string
rindex OpenBSD locate last occurrence of a character in a string
index OpenBSD locate first occurrence of a character in a string
devclass_find FreeBSD search for a devclass
lsearch FreeBSD linear search and append
egrep HP-UX search a file for a pattern
lfind FreeBSD linear search and append
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service