[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

1094.0. "mcc_free routine" by DGOSW0::GUESDON () Wed Jun 05 1991 07:40

    We can't find in the doc the mcc_free routine that is used in the
    sample AM... Can someone tell me where it is ?
    
T.RTitleUserPersonal
Name
DateLines
1094.1Not in the v1.1 SRM yetNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Jun 05 1991 11:4914
The DECmcc Memory Management routines: mcc_malloc, mcc_calloc, mcc_free
are not documented in the v1.1 SRM.  They should be in the v1.2 book.

They work just like the regular 'C' routines, except the mcc_free can free
memory allocated by either mcc_malloc or mcc_calloc.

  address = mcc_malloc( bytes )

  address = mcc_calloc( count, bytes )

  mcc_free( address)


Keith
1094.2TOOK::CALLANDERJill Callander DTN 226-5316Wed Jun 05 1991 15:054
just a quick addition to Keiths note....the mcc_xxx versions of the memory
routines were created so as to allow mcc to do some private memory
management and caching.