RAD Studio
ContentsIndex
PreviousUpNext
disable, _disable, enable, _enable

Header File 

dos.h 

Category 

Miscellaneous Routines 

Prototype 

void disable(void); 

void _disable(void); 

void enable(void); 

void _enable(void); 

Description 

Disables and enables interrupts. 

These macros are designed to provide a programmer with flexible hardware interrupt control. 

disable and _disable macros disable interrupts. Only the NMI (non-maskable interrupt) is allowed from any external device. 

enable and _enable macros enable interrupts, allowing any device interrupts to occur. 

Return Value 

None. 

Portability  

POSIX 
Win32 
ANSI C 
ANSI C++ 
 
 
 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!