#pragma once #include ///@defgroup libk libk ///@{ ///@defgroup stdlib stdlib ///@{ /** * Allocate size bytes and return a pointer to the allocated memory */ void *malloc(size_t size); /** * Free the memory space pointed to by ptr */ void free(void *ptr); /** * Fill the first n bytes of the memory area pointed to by s with the constant byte c. */ void *memset(void *s, int c, long unsigned n); /** * Copy n bytes from memory area src to memory area dest. The memory areas must not overlap. */ void *memcpy(void *restrict dest, const void *restrict src, long unsigned n); ///@} ///@}