delorie.com/djgpp/doc/libc/libc_289.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dos.h> int enable(void); |
This function enables interrupts.
See section disable.
Returns nonzero if the interrupts were already enabled, zero if they had been disabled before this call.
ANSI/ISO C | No |
POSIX | No |
int ints_were_enabled; ints_were_enabled = enable(); . . . do some stuff . . . if (!ints_were_enabled) disable(); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |