C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_set_new_handler functions
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   #include <new.h>
 
  Syntax:    _PNH _set_new_handler( _PNH pNewHandler );
             _PNH _set_nnew_handler( _PNH pNewHandler );
             _PNH _set_fnew_handler( _PNH pNewHandler );
             _PNHH _set_hnew_handler( _PNHH pNewHandler );
             _PNHB _set_bnew_handler( _PNHB pNewHandler );
 
             See: _set_new_handler and Memory Models
                  _PNH, _PNHH, and _PNHB──pointers to functions
 
  Returns:   a pointer to the allocated program memory, if successful.
             0 if not.
 
  See also:  _bfreeseg, _bheapseg, calloc, delete, free, malloc, new,
             realloc
                                    -♦-