Back to index

glibc  2.9
Functions
wcschrnul.c File Reference
#include <wchar.h>

Go to the source code of this file.

Functions

wchar_t * __wcschrnul (const wchar_t *wcs, const wchar_t wc)

Function Documentation

wchar_t* __wcschrnul ( const wchar_t *  wcs,
const wchar_t  wc 
)

Definition at line 24 of file wcschrnul.c.

{
  while (*wcs != L'\0')
    if (*wcs == wc)
      break;
    else
      ++wcs;

  return (wchar_t *) wcs;
}

Here is the caller graph for this function: