📄 rdmalloc.h
字号:
/**************************************************************
;* *
;* INSTUTITE FOR INFORMATION INDUSTRY *
;* DISK BLOCK HEADER -- RAMDISK 4.0 *
;* November 01, 1999 *
;* *
;*************************************************************/
#ifndef _RAMDISK_MALLOC_H
#define _RAMDISK_MALLOC_H
/**** added by chilong 8/31/2001 ****/
/*************************************************************
Function: RD_ramdisk_malloc
Description:
allocate the needed size
Input:
wantSize - the size of the memory
blockType - what this block will be used for
Output:
void* pointer which indicates the start position of the
allocated memory
**************************************************************/
void* RD_ramdisk_malloc(int wantSize);
/*************************************************************
Function: RD_ramdisk_malloc
Description:
free the memory that the pointer points to
Input:
Output:
**************************************************************/
void RD_ramdisk_free(void *pointer);
#endif
/**** added by chilong 8/31/2001 ****/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -