"Fossies" - the Fresh Open Source Software Archive

Member "statist-1.4.2/src/memory_handling.h" (16 Aug 2005, 789 Bytes) of package /linux/privat/old/statist-1.4.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "memory_handling.h" see the Fossies "Dox" file reference documentation.

    1 /* This file is part of statist
    2 **
    3 ** It is Free Software distributed under the GNU General Public License.
    4 ** See the file COPYING for details.
    5 ** 
    6 ** (c) 1997 Dirk Melcher
    7 ** (c) 2001 Bernhard Reiter
    8 **
    9 ** published by Bernhard Reiter  http://www.usf.Uni-Osnabrueck.DE/~breiter
   10 ** $Id: memory_handling.h,v 1.2 2005/08/16 08:07:44 jakson Exp $
   11 ***************************************************************/
   12 
   13 #ifndef MEMORY_HANDLING_H
   14 #define MEMORY_HANDLING_H
   15 
   16 /* wrappers for malloc/calloc/realloc/free combination */
   17 void *myrealloc(void *ptr, int newsize);
   18 void *mycalloc(int nitems, int size);
   19 void *mymalloc(int size);
   20 void myfree(void *ptr);
   21 
   22 /* keep track of memory allocated with m_calloc(), m_freeall frees all */
   23 void *m_calloc(int nitems, int size);
   24 int m_freeall();
   25 
   26 #endif