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
15 #include "DeviceTypes.h"
19 int memcmp(const void *lhs
, const void *rhs
, size_t count
);
20 void memset(void *dst
, int C
, size_t count
);
21 int printf(const char *format
, ...);