/* SPDX-License-Identifier: PMPL-1.0-or-later */
/* Subset of stdlib.h for atsiser safe-malloc example.
*
* These are the standard C memory allocation functions that atsiser wraps
* with ATS2 linear types to provide compile-time memory safety guarantees.
*/
/* Allocate SIZE bytes of memory. Returns a pointer that MUST be freed. */
void* ;
/* Free a block allocated by malloc/realloc. Pointer MUST NOT be used after. */
void ;
/* Re-allocate a block to NEW_SIZE bytes. Old pointer is CONSUMED. */
void* ;
/* Copy N bytes from SRC to DEST. Both pointers are BORROWED (not consumed). */
void* ;
/* Set N bytes of DEST to VALUE. Pointer is BORROWED. */
void* ;
/* STDLIB_SUBSET_H */