Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>enable() enable interrupts (macro)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 enable()                Enable Interrupts (Macro)

 #include   <dos.h>

 void       enable(void);

    enable() enables hardware interrupts.  This allows any device
    interrupts to occur.

       Returns:     There is no return value.

         Notes:     enable() is a macro.

   Portability:     8086-Family of processors only.

   -------------------------------- Example ---------------------------------

    The following statements disable and then re-enable the interrupts.

           #include <dos.h>     /* for disable and enable */

           main()
           {
               disable();
              /* execute operations which can't be interrupted */
               enable();
           }


See Also: disable() geninterrupt() getvect()

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