Rt-thread finsh Source Analysis: Finsh_heap.h

Source: Internet
Author: User

/* *  heap management in finsh shell. * * copyright  (C)  2006 - 2013, rt-thread development team * *  this file  is part of RT-Thread  (http://www.rt-thread.org)  *  Maintainer:  bernard.xiong <bernard.xiong at gmail.com> * *  all rights  reserved. * *  this program is free software; you can  redistribute it and/or modify *  it under the terms of  the gnu general public license as published by *  the  Free software foundation; either version 2 of the license, or  *   (at your option)  any later version. * *  this  program is distributed in the hope that it will be useful, *   but without any warranty; without even the implied warranty  of *  merchantability or fitness for a particular purpose.   See the *  GNU General Public License for more  Details. * *  you should have received a copy of the  GNU General Public License along *  with this program;  if not, write to the free software foundation, inc., *   51 franklin street, fifth floor, boston, ma 02110-1301 usa . * * change logs: * date            author       notes * 2010-03-22     bernard       first version */#include  <finsh.h> #ifndef  __finsh_heap_h__# Define __finsh_heap_h__int finsh_heap_init (void);   //finsh Heap Initialization void* finsh_heap_ Allocate (size_t size);   //gets the size memory Void  finsh_heap_free (VOID*PTR);   // Free Memory #endif


This article is from the "mountain Ask the Boy" blog, please be sure to keep this source http://linpeng.blog.51cto.com/9779987/1685401

Rt-thread finsh Source Analysis: Finsh_heap.h

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.