source: libcfa/src/stdhdr/malloc.h @ 899dfbb

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 899dfbb was cfbc703d, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

add resize and more "alloc" routines

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[3354e6d]1//
2// Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// malloc.h --
8//
9// Author           : Peter A. Buhr
10// Created On       : Thu Jul 20 15:58:16 2017
11// Last Modified By : Peter A. Buhr
[cfbc703d]12// Last Modified On : Sun Mar  8 10:01:20 2020
13// Update Count     : 11
[3354e6d]14//
15
[d46ed6e]16
17size_t default_mmap_start();                                                    // CFA extras
18size_t default_heap_expansion();
[5d4fa18]19
[93c2e0a]20bool traceHeap();
21bool traceHeapOn();
22bool traceHeapOff();
[5d4fa18]23
[93c2e0a]24bool traceHeapTerm();
25bool traceHeapTermOn();
26bool traceHeapTermOff();
[5d4fa18]27
[93c2e0a]28bool checkFree();
29bool checkFreeOn();
30bool checkFreeOff();
[5d4fa18]31
[d46ed6e]32extern "C" {
[cfbc703d]33void * cmemalign( size_t alignment, size_t noOfElems, size_t elemSize );
[d46ed6e]34size_t malloc_alignment( void * );
[93c2e0a]35bool malloc_zero_fill( void * );
[cfbc703d]36size_t malloc_dimension( void * );
[d46ed6e]37int malloc_stats_fd( int fd );
38} // extern "C"
39
[3354e6d]40extern "C" {
41#include_next <malloc.h>                                                                // has internal check for multiple expansion
42} // extern "C"
43
44// Local Variables: //
45// tab-width: 4 //
46// mode: c++ //
47// compile-command: "make install" //
48// End: //
Note: See TracBrowser for help on using the repository browser.