mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
parent
e9773f237e
commit
c47e9751bd
@ -364,6 +364,14 @@ extern "C" void free(void *addr, int type, size_t size)
|
|||||||
** sys/systm.h **
|
** sys/systm.h **
|
||||||
*****************/
|
*****************/
|
||||||
|
|
||||||
|
extern "C" void bzero(void *b, size_t len)
|
||||||
|
{
|
||||||
|
if (b == nullptr) return;
|
||||||
|
|
||||||
|
Genode::memset(b, 0, len);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
extern "C" void bcopy(const void *src, void *dst, size_t len)
|
extern "C" void bcopy(const void *src, void *dst, size_t len)
|
||||||
{
|
{
|
||||||
/* XXX may overlap */
|
/* XXX may overlap */
|
||||||
|
Loading…
Reference in New Issue
Block a user