---
name: "ACE_Malloc_Header"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Malloc_Header"
---

# ACE\_Malloc\_Header(3)

This is the control block header. It's used by ACE\_Malloc to keep track of each chunk of data when it's in the free list or in use.

## NAME

ACE\_Malloc\_Header -  This is the control block header.  It's used by ACE\_Malloc to keep track of each chunk of data when it's in the free list or in use.

## SYNOPSIS

```
#include <ace/Malloc.h>
class ACE_Malloc_Header
{
  public:
    ACE_Malloc_Header (void);
    ACE_MALLOC_HEADER_PTR next_block_;
    size_t size_;
        long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];

    void dump (void) const;
  private:
    inline ACE_UNIMPLEMENTED_FUNC (
        void operator= (const ACE_Malloc_Header &)
        );
};
```

## PUBLIC MEMBERS

```
ACE_Malloc_Header (void);
```

```
ACE_MALLOC_HEADER_PTR next_block_;
```

Points to next block if on free list.

```
size_t size_;
```

Size of this header control block.

```
long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];
```

```
void dump (void) const;
```

Dump the state of the object.

## PRIVATE MEMBERS

```
inline ACE_UNIMPLEMENTED_FUNC (
    void operator= (const ACE_Malloc_Header &)
    );
```

## AUTHOR

Doug Schmidt and Irfan Pyarali

## LIBRARY

ace
