Files
libsodium/builds/wasm32-freestanding/include/stdlib.h
T
Frank Denis ee2972b83e Remove support for WASI
Freestanding WebAssembly is enough, and WASI has always been a
pain to support.
2026-08-26 14:25:41 +02:00

18 lines
340 B
C

#ifndef _STDLIB_H
#define _STDLIB_H
#include <stddef.h>
#include <stdint.h>
/* arc4random_buf, malloc and free come from the embedder. */
_Noreturn void abort(void);
uint32_t arc4random(void);
void arc4random_buf(void *buf, size_t size);
void *calloc(size_t nmemb, size_t size);
void free(void *ptr);
void *malloc(size_t size);
#endif