#include "src/wchar/wcschr.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(const wchar_t *, wcschr, (const wchar_t *s, wchar_t c)) {
for (; *s && *s != c; ++s)
;
if (*s == c)
return s;
return nullptr;
}
}