summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/wamr-sdk/app/libc-builtin-sysroot/include/stdio.h
blob: 1d51e6dd32a0b5e2e6e7e4827fe9fac52d686e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */

#ifndef _WAMR_LIBC_STDIO_H
#define _WAMR_LIBC_STDIO_H

#ifdef __cplusplus
extern "C" {
#endif

#ifndef NULL
#  define NULL ((void*) 0)
#endif

typedef unsigned long size_t;

int printf(const char *format, ...);
int putchar(int c);
int snprintf(char *str, size_t size, const char *format, ...);
int sprintf(char *str, const char *format, ...);
int puts(char *string);


#ifdef __cplusplus
}
#endif

#endif