home *** CD-ROM | disk | FTP | other *** search
- To use your own handler when memory is exhausted, you
- must call the function set_new_handler() before trying
- to allocate memory. The argument of the function
- set_new_handler() can be the address of your function.
- Alternatively, the argument can be zero to reset to
- the default condition. The handler specified by a call
- of set_new_handler() is used until set_new_handler() is
- called again, either to establish a different handler
- function or to reinstate the default.
-