⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 malloc.h

📁 libaal-1.0.5.tar.gz reiser4progs编译时需要
💻 H
字号:
/* Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by   libaal/COPYING.      malloc.h -- memory allocation functions. ctualy they are memory allocation   handlers which may be set by caller. In the allone mode they will point to   corresponding memory allocation functions, which are used in certain minimal   application (bootloaders, etc). In the standard mode they are pointed to libc   memory allocation functions (malloc, free, etc). */#ifndef AAL_MALLOC_H#define AAL_MALLOC_H#include <aal/types.h>extern void aal_mem_fini(void);extern unsigned int aal_mem_free(void);extern void aal_mem_init(void *start, uint32_t len);typedef void (*aal_free_handler_t) (void *);typedef void *(*aal_malloc_handler_t) (uint32_t);#ifndef ENABLE_MINIMALextern void aal_malloc_set_handler(aal_malloc_handler_t handler);extern aal_malloc_handler_t aal_malloc_get_handler(void);extern aal_free_handler_t aal_free_get_handler(void);extern void aal_free_set_handler(aal_free_handler_t handler);#endifextern void aal_free(void *ptr);extern void *aal_malloc(uint32_t size);extern void *aal_calloc(uint32_t size, char c);#endif

⌨️ 快捷键说明

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