mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-01 20:15:23 +00:00
34 lines
570 B
C
34 lines
570 B
C
![]() |
/*
|
||
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||
|
*/
|
||
|
|
||
|
#ifndef _WAMR_LIBC_STDLIB_H
|
||
|
#define _WAMR_LIBC_STDLIB_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef unsigned long size_t;
|
||
|
|
||
|
int
|
||
|
atoi(const char *s);
|
||
|
void
|
||
|
exit(int status);
|
||
|
long
|
||
|
strtol(const char *nptr, char **endptr, register int base);
|
||
|
unsigned long
|
||
|
strtoul(const char *nptr, char **endptr, register int base);
|
||
|
void *
|
||
|
malloc(size_t size);
|
||
|
void *
|
||
|
calloc(size_t n, size_t size);
|
||
|
void
|
||
|
free(void *ptr);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|