memtest.c

来自「实现在ARM上的ICP/IP功能的源代码。」· C语言 代码 · 共 21 行

C
21
字号
#include "true_false.h"
#include "stdlib.h"
#include "typedef.h"
#include "mem_man.h"
#include "rtl8019.h"
#include "netif.h"
#include "etherif.h"
#include "ip.h"
#include "arp.h"
#include "utilities.h"
#include "tcp.h"

    struct SMemHead *p1;
testmem(){
MemInit();
for(;;)
if(p1=MemAllocate(100),p1!=NULL)
Uart_Printf("\nRCVING DATA");
else
Uart_Printf("\nFUCK!!!"); 
}

⌨️ 快捷键说明

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