DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

mallinfo(FP)


mallinfo -- malloc (libmalloc) information

Syntax

#include <malloc.h>

Description

The /usr/include/malloc.h file defines the mallinfo structure, which provides information about:

Member Description  
arena The total space in the allocated ``arena'' of memory  
ordblks Number of ordinary blocks  
smblks Number of small blocks  
hblks Number of holding blocks  
hblkhd Space in holding block headers  
usmblks Space in small blocks in use  
fsmblks Space in free small blocks  
uordblks Space in ordinary blocks in use  
fordblks Space in free ordinary blocks  
keepcost Cost of enabling keep option  

 +---------+------------------------------------------------------+---+
 |Member   | Description                                          |   |
 +---------+------------------------------------------------------+---+
 |arena    | The total space in the allocated ``arena'' of memory |   |
 +---------+------------------------------------------------------+---+
 |ordblks  | Number of ordinary blocks                            |   |
 +---------+------------------------------------------------------+---+
 |smblks   | Number of small blocks                               |   |
 +---------+------------------------------------------------------+---+
 |hblks    | Number of holding blocks                             |   |
 +---------+------------------------------------------------------+---+
 |hblkhd   | Space in holding block headers                       |   |
 +---------+------------------------------------------------------+---+
 |usmblks  | Space in small blocks in use                         |   |
 +---------+------------------------------------------------------+---+
 |fsmblks  | Space in free small blocks                           |   |
 +---------+------------------------------------------------------+---+
 |uordblks | Space in ordinary blocks in use                      |   |
 +---------+------------------------------------------------------+---+
 |fordblks | Space in free ordinary blocks                        |   |
 +---------+------------------------------------------------------+---+
 |keepcost | Cost of enabling keep option                         |   |
 +---------+------------------------------------------------------+---+

© 2005 File Formats for Programming (FP)
SCO OpenServer Release 6.0.0 -- 02 June 2005