Back to index

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

Go to the source code of this file.

Functions

wchar_t * wcspbrk (const wchar_t *wcs, const wchar_t *accept)

Function Documentation

wchar_t* wcspbrk ( const wchar_t *  wcs,
const wchar_t *  accept 
)

Definition at line 25 of file wcspbrk.c.

{
  while (*wcs != L'\0')
    if (wcschr (accept, *wcs) == NULL)
      ++wcs;
    else
      return (wchar_t *) wcs;

  return NULL;
}

Here is the call graph for this function: