alloc.c

来自「一个Windows下的Linux专用虚拟机」· C语言 代码 · 共 32 行

C
32
字号
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */#include <malloc.h>#include <colinux/os/alloc.h>void *co_os_malloc(unsigned long size){	return malloc(size);}void *co_os_realloc(void *ptr, unsigned long size){	return realloc(ptr, size);}voidco_os_free(void *ptr){	free(ptr);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?