rdmalloc.h
来自「如何制作ramdisk的一个好资料」· C头文件 代码 · 共 37 行
H
37 行
/**************************************************************
;* *
;* 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 + =
减小字号Ctrl + -
显示快捷键?