Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>disable</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disable
=======

Syntax
------

     #include <dos.h>
     
     int disable(void);

Description
-----------

This function disables interrupts.

enable:.   

Return Value
------------

Returns nonzero if the interrupts had been enabled before this call,
zero if they were already disabled.

Example
-------

     int ints_were_enabled;
     
     ints_were_enabled = disable();
     . . . do some stuff . . .
     if (ints_were_enabled)
       enable();


See Also: enable

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