| Red Hat Documentation |
|
mallinfo, malloc_stats, mallopt SYNOPSISstruct mallinfo mallinfo(void); void malloc_stats(void); int mallopt(int parameter , value ); struct mallinfo _mallinfo_r(void * reent ); void _malloc_stats_r(void * reent ); int _mallopt_r(void * reent , int parameter , value ); DESCRIPTIONmallinfo
returns a structure describing the current state of memory allocation.
The structure is defined in malloc.h. The following fields are
defined:
mallopt
takes a parameter and a value. The parameters are defined in malloc.h,
and may be one of the following:
The alternate
functions, _mallinfo_r, _malloc_stats_r, and _mallopt_r,
are reentrant versions. The extra argument, reent, is a
pointer to a reentrancy structure.
RETURNSCOMPLIANCEmallinfo
and mallopt are provided by SVR4, but mallopt takes different
parameters on different systems.
|
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |