1 //===--------- LibC.h - Simple implementation of libc functions --- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
12 #ifndef OMPTARGET_LIBC_H
13 #define OMPTARGET_LIBC_H
19 int memcmp(const void *lhs
, const void *rhs
, size_t count
);
20 void memset(void *dst
, int C
, size_t count
);
22 int printf(const char *format
, ...);