Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>h_maxblock() returns the size of biggest heap block.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
h_maxblock()  Returns the size of biggest heap block.
----------------------------------------------------------------------------------------

 Syntax:

 int_ret = h_maxblock()

 Description:

 This function gets the size of the biggest heap block, i.e., the largest
 continuous block.

----------------------------------[ Example ]------------------------------------

 first_max = h_maxblock()
 DO fragmenter && a suspected memory fragmenter
 Last_max = h_maxblock()
 IF last_max < first_max
     ? "OOPS! The maximum block size just shrunk"
     ?? first_max - last_max
     ?? " bytes"
 ENDIF


See Also: h_free_mem() h_tot_mem() h_used_mem() h_walk()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson