heap.h
来自「Windows上的精简Linux系统」· C头文件 代码 · 共 20 行
H
20 行
#ifndef _HEAP_H_#define _HEAP_H_// How much space to reserve for the stack#define STACKSIZE (8*1024)// Will an allocation of num bytes be successful?// We need this because we dont do any deallocationextern int checkalloc(unsigned int num); // Allocate so much spaceextern void * malloc(unsigned int num); // This is a nop for now may be future implementations will actually do somethingextern void free(void *); // Dealloc space. #endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?