Files
clang-p2996/libc/src/string/strcspn.h
cgyurgyik dc13a9a781 [libc] Add strcpsn and strpbrk implementation.
Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D85386
2020-08-07 16:14:32 -04:00

21 lines
619 B
C++

//===-- Implementation header for strcspn -----------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_STRING_STRCSPN_H
#define LLVM_LIBC_SRC_STRING_STRCSPN_H
#include <stddef.h>
namespace __llvm_libc {
size_t strcspn(const char *src, const char *segment);
} // namespace __llvm_libc
#endif // LLVM_LIBC_SRC_STRING_STRCSPN_H