arudradey's picture
download
raw
738 Bytes
//===-- Implementation of wcschr ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#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;
}
} // namespace LIBC_NAMESPACE_DECL

Xet Storage Details

Size:
738 Bytes
·
Xet hash:
a1ad6cfc22bef02796d7d9d0ecd6cceaed5fa427005331b845e69fca49da1f6d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.