CINXE.COM
wcschr
<html> <head> <title>wcschr</title> <META NAME="KEYWORDS" CONTENT="wcschr"> </head> <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000"> <center> <h1><b>wcschr</b></h1></center> <PRE> <STRONG><A HREF="/man3/WCSCHR">WCSCHR(3)</A></STRONG> Linux Programmer's Manual <STRONG><A HREF="/man3/WCSCHR">WCSCHR(3)</A></STRONG> NAME wcschr - search a wide character in a wide-character string SYNOPSIS #include <wchar.h> wchar_t *wcschr(const wchar_t *wcs, wchar_t wc); DESCRIPTION The wcschr() function is the wide-character equivalent of the <STRONG><A HREF="/man3/strchr">strchr(3)</A></STRONG> function. It searches the first occurrence of wc in the wide-character string pointed to by wcs. RETURN VALUE The wcschr() function returns a pointer to the first occurrence of wc in the wide-character string pointed to by wcs, or NULL if wc does not occur in the string. ATTRIBUTES For an explanation of the terms used in this section, see at- <STRONG><A HREF="/man7/tributes">tributes(7)</A></STRONG>. +----------+---------------+---------+ |Interface | Attribute | Value | +----------+---------------+---------+ |wcschr() | Thread safety | MT-Safe | +----------+---------------+---------+ CONFORMING TO POSIX.1-2001, POSIX.1-2008, C99. SEE ALSO <STRONG><A HREF="/man3/strchr">strchr(3)</A></STRONG>, <STRONG><A HREF="/man3/wcspbrk">wcspbrk(3)</A></STRONG>, <STRONG><A HREF="/man3/wcsrchr">wcsrchr(3)</A></STRONG>, <STRONG><A HREF="/man3/wcsstr">wcsstr(3)</A></STRONG>, <STRONG><A HREF="/man3/wmemchr">wmemchr(3)</A></STRONG> COLOPHON This page is part of release 5.05 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/. GNU 2015-08-08 <STRONG><A HREF="/man3/WCSCHR">WCSCHR(3)</A></STRONG></PRE> <center> <h6>Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2025 <a href="http://www.he.net">Hurricane Electric</a>. All Rights Reserved.</h6></center> </body> </html>