xref: /llvm-project/libc/src/string/memset.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
16ca54e01SGuillaume Chatelet //===-- Implementation header for memset ------------------------*- C++ -*-===//
26ca54e01SGuillaume Chatelet //
36ca54e01SGuillaume Chatelet // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
46ca54e01SGuillaume Chatelet // See https://llvm.org/LICENSE.txt for license information.
56ca54e01SGuillaume Chatelet // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66ca54e01SGuillaume Chatelet //
76ca54e01SGuillaume Chatelet //===----------------------------------------------------------------------===//
86ca54e01SGuillaume Chatelet 
96ca54e01SGuillaume Chatelet #ifndef LLVM_LIBC_SRC_STRING_MEMSET_H
106ca54e01SGuillaume Chatelet #define LLVM_LIBC_SRC_STRING_MEMSET_H
116ca54e01SGuillaume Chatelet 
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
1300ba1a3dSGuillaume Chatelet #include <stddef.h> // size_t
146ca54e01SGuillaume Chatelet 
15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
166ca54e01SGuillaume Chatelet 
176ca54e01SGuillaume Chatelet void *memset(void *ptr, int value, size_t count);
186ca54e01SGuillaume Chatelet 
19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
206ca54e01SGuillaume Chatelet 
216ca54e01SGuillaume Chatelet #endif // LLVM_LIBC_SRC_STRING_MEMSET_H
22